public enum NexmoMediaActionState extends java.lang.Enum<NexmoMediaActionState>
Modifier and Type | Method and Description |
---|---|
static NexmoMediaActionState |
fromCoreState(com.nexmo.clientcore.model.enums.EMediaActionState state) |
static NexmoMediaActionState |
fromString(java.lang.String id) |
static NexmoMediaActionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NexmoMediaActionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NexmoMediaActionState ON
public static final NexmoMediaActionState OFF
public static final NexmoMediaActionState UNKNOWN
public static NexmoMediaActionState[] values()
for (NexmoMediaActionState c : NexmoMediaActionState.values()) System.out.println(c);
public static NexmoMediaActionState 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 nullpublic static NexmoMediaActionState fromString(java.lang.String id)
public static NexmoMediaActionState fromCoreState(com.nexmo.clientcore.model.enums.EMediaActionState state)