Package | Description |
---|---|
rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
rocks.xmpp.im.roster.model |
Provides XML schema implementations of the Roster Namespace.
|
Modifier and Type | Method and Description |
---|---|
Presence.Type |
Presence.getType()
Gets the type of the presence.
|
static Presence.Type |
Presence.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Presence.Type[] |
Presence.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Presence.setType(Presence.Type type)
Sets the type of the presence.
|
Constructor and Description |
---|
Presence(Jid to,
Presence.Type type,
Presence.Show show,
java.util.Collection<Text> status,
java.lang.Byte priority,
java.lang.String id,
Jid from,
java.util.Locale language,
java.util.Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Presence(Jid to,
Presence.Type type,
java.lang.String status)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
Presence(Jid to,
Presence.Type type,
java.lang.String status,
java.lang.String id)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
Presence(Presence.Type type)
Constructs a presence of a specific type.
|
Presence(Presence.Type type,
java.lang.Byte priority)
Constructs a presence of a specific type.
|
Modifier and Type | Method and Description |
---|---|
DefinedState |
DefinedState.onInboundSubscriptionChange(Presence.Type type)
Transforms an existing subscription state into a new state, depending on an inbound presence subscription change.
|
DefinedState |
DefinedState.onOutboundSubscriptionChange(Presence.Type type)
Transforms an existing subscription state into a new state, depending on an outbound presence subscription change.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.