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