| Package | Description |
|---|---|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| Modifier and Type | Method and 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.
|
| 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,
Collection<Text> status,
Byte priority,
String id,
Jid from,
Locale language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
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(Presence.Type type)
Constructs a presence of a specific type.
|
Presence(Presence.Type type,
Byte priority)
Constructs a presence of a specific type.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.