public static enum AbstractPresence.Show extends Enum<AbstractPresence.Show>
<presence/> <show/> element.
The OPTIONAL
<show/>element specifies the particular availability sub-state of an entity or a specific resource thereof.If no
<show/>element is provided, the entity is assumed to be online and available.
| Enum Constant and Description |
|---|
AWAY
The entity or resource is temporarily away.
|
CHAT
The entity or resource is actively interested in chatting.
|
DND
The entity or resource is busy (dnd = "Do Not Disturb").
|
XA
The entity or resource is away for an extended period (xa = "eXtended Away").
|
| Modifier and Type | Method and Description |
|---|---|
static AbstractPresence.Show |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPresence.Show[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPresence.Show CHAT
public static final AbstractPresence.Show AWAY
public static final AbstractPresence.Show XA
public static final AbstractPresence.Show DND
public static AbstractPresence.Show[] values()
for (AbstractPresence.Show c : AbstractPresence.Show.values()) System.out.println(c);
public static AbstractPresence.Show valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.