public enum PresenceSubscription extends Enum<PresenceSubscription>
| Modifier and Type | Method and Description |
|---|---|
String |
val() |
static PresenceSubscription |
valueFrom(String val) |
static PresenceSubscription |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PresenceSubscription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceSubscription NONE
public static final PresenceSubscription TO
public static final PresenceSubscription FROM
public static final PresenceSubscription BOTH
public static final PresenceSubscription REMOVE
public static PresenceSubscription[] values()
for (PresenceSubscription c : PresenceSubscription.values()) System.out.println(c);
public static PresenceSubscription 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 PresenceSubscription valueFrom(String val) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2019. All rights reserved.