|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Presence.Show> org.xmpp.packet.Presence.Show
public static enum Presence.Show
Represents the presence "show" value. Note: a null "show" value is the default, which means "available". Valid values are:
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 Summary | |
---|---|
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"). |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Presence.Show chat
public static final Presence.Show away
public static final Presence.Show xa
public static final Presence.Show dnd
Method Detail |
---|
public static final 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 name
|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |