public enum PresenceState extends Enum<PresenceState>
SubscribeForm.getShowValues()
.Modifier and Type | Method and Description |
---|---|
static PresenceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PresenceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceState chat
public static final PresenceState online
public static final PresenceState away
public static final PresenceState xa
public static final PresenceState dnd
public static PresenceState[] values()
for (PresenceState c : PresenceState.values()) System.out.println(c);
public static PresenceState 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 null