public static enum Presence.PresenceStatus extends Enum<Presence.PresenceStatus>
| Modifier and Type | Method and Description |
|---|---|
String |
val() |
static Presence.PresenceStatus |
valueFrom(String val) |
static Presence.PresenceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Presence.PresenceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Presence.PresenceStatus AWAY
public static final Presence.PresenceStatus CHAT
public static final Presence.PresenceStatus DND
public static final Presence.PresenceStatus XA
public static Presence.PresenceStatus[] values()
for (Presence.PresenceStatus c : Presence.PresenceStatus.values()) System.out.println(c);
public static Presence.PresenceStatus 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 nullpublic String val()
public static Presence.PresenceStatus valueFrom(String val)
Copyright © 2019. All rights reserved.