public static enum QBPresence.Mode extends java.lang.Enum<QBPresence.Mode>
Enum Constant and Description |
---|
available
Available (the default).
|
away
Away.
|
chat
Free to chat.
|
dnd
Do not disturb.
|
xa
Away for an extended period of time.
|
Modifier and Type | Method and Description |
---|---|
static QBPresence.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QBPresence.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QBPresence.Mode chat
public static final QBPresence.Mode available
public static final QBPresence.Mode away
public static final QBPresence.Mode xa
public static final QBPresence.Mode dnd
public static QBPresence.Mode[] values()
for (QBPresence.Mode c : QBPresence.Mode.values()) System.out.println(c);
public static QBPresence.Mode 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 namejava.lang.NullPointerException
- if the argument is null