Package | Description |
---|---|
rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
rocks.xmpp.extensions.muc |
Provides classes for XEP-0045: Multi-User Chat.
|
rocks.xmpp.extensions.pubsub.model |
Provides XML schema implementations and configuration classes for XEP-0060: Publish-Subscribe.
|
Modifier and Type | Method and Description |
---|---|
Presence.Show |
Presence.getShow()
Gets the
<show/> element. |
static Presence.Show |
Presence.Show.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Presence.Show[] |
Presence.Show.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.setShow(Presence.Show show)
Sets the
<show/> element. |
Constructor and Description |
---|
Presence(Jid to,
Presence.Show show,
java.lang.String status)
Constructs a directed presence with a specific ‘show’ attribute and status.
|
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(Presence.Show show)
Constructs a presence with a specific ‘show’ value.
|
Presence(Presence.Show show,
java.lang.Byte priority)
Constructs a presence with a specific ‘show’ value and priority.
|
Modifier and Type | Method and Description |
---|---|
void |
ChatRoom.changeAvailabilityStatus(Presence.Show show,
java.lang.String status)
Changes the availability status.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Presence.Show> |
SubscribeOptions.getShowValues()
Gets the show values.
|
Modifier and Type | Method and Description |
---|---|
SubscribeOptions.Builder |
SubscribeOptions.Builder.showValues(java.util.Collection<Presence.Show> showValues)
Sets the presence states for which an entity wants to receive notifications.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.