| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| Modifier and Type | Method and Description |
|---|---|
Presence.Show |
Presence.getShow()
Gets the
<show/> element. |
static Presence.Show |
Presence.Show.valueOf(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,
String status)
Constructs a directed presence with a specific 'show' attribute and status.
|
Presence(Jid to,
Presence.Type type,
Presence.Show show,
Collection<Text> status,
Byte priority,
String id,
Jid from,
String language,
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,
Byte priority)
Constructs a presence with a specific 'show' value and priority.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.