Uses of Class
rocks.xmpp.core.stanza.model.Presence.Type
-
Packages that use Presence.Type 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. -
-
Uses of Presence.Type in rocks.xmpp.core.stanza.model
Methods in rocks.xmpp.core.stanza.model that return Presence.Type Modifier and Type Method Description Presence.Type
Presence. getType()
Gets the type of the presence.static Presence.Type
Presence.Type. valueOf(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.Methods in rocks.xmpp.core.stanza.model with parameters of type Presence.Type Modifier and Type Method Description void
Presence. setType(Presence.Type type)
Sets the type of the presence.Constructors in rocks.xmpp.core.stanza.model with parameters of type Presence.Type Constructor Description Presence(Jid to, Presence.Type type, 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, String status, String id)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.Presence(Jid to, Presence.Type type, Presence.Show show, Collection<Text> status, byte priority, String id, Jid from, Locale language, Collection<?> extensions, StanzaError error)
Constructs a presence with all possible values.Presence(Presence.Type type)
Constructs a presence of a specific type.Presence(Presence.Type type, byte priority)
Constructs a presence of a specific type. -
Uses of Presence.Type in rocks.xmpp.im.roster.model
Methods in rocks.xmpp.im.roster.model with parameters of type Presence.Type Modifier and Type Method 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.
-