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