|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PresenceShow> com.google.appengine.api.xmpp.PresenceShow
public enum PresenceShow
Values for the 'show' sub-stanza of presences.
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"). |
|
NONE
The entity is assumed to be online and available. |
|
XA
The entity or resource is away for an extended period (xa = "eXtended Away"). |
Method Summary | |
---|---|
static PresenceShow |
fromPresenceResponseEnum(PresenceResponse.SHOW value)
|
static PresenceShow |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PresenceShow[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PresenceShow NONE
public static final PresenceShow AWAY
public static final PresenceShow CHAT
public static final PresenceShow DND
public static final PresenceShow XA
Method Detail |
---|
public static PresenceShow[] values()
for (PresenceShow c : PresenceShow.values()) System.out.println(c);
public static PresenceShow valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static PresenceShow fromPresenceResponseEnum(PresenceResponse.SHOW value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |