public static enum Presence.Show extends Enum<Presence.Show>
Presence.Show.chat -- the entity or resource is actively
interested in chatting.
Presence.Show.away -- the entity or resource is
temporarily away.
Presence.Show.dnd -- the entity or resource is busy
(dnd = "Do Not Disturb").
Presence.Show.xa -- the entity or resource is away for an
extended period (xa = "eXtended Away").
| 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 Presence.Show |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Presence.Show[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Presence.Show chat
public static final Presence.Show away
public static final Presence.Show xa
public static final Presence.Show dnd
public static Presence.Show[] values()
for (Presence.Show c : Presence.Show.values()) System.out.println(c);
public static Presence.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 © 2009–2017 Ignite Realtime. All rights reserved.