public enum MediaState extends java.lang.Enum<MediaState>
Enum Constant and Description |
---|
ACTIVE
active
|
INACTIVE
inactive
|
UNEXPECTED_VALUE
For MediaState values that were not expected from the service
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
Modifier and Type | Method and Description |
---|---|
static MediaState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaState ACTIVE
public static final MediaState INACTIVE
public static final MediaState UNKNOWN_FUTURE_VALUE
public static final MediaState UNEXPECTED_VALUE
public static MediaState[] values()
for (MediaState c : MediaState.values()) System.out.println(c);
public static MediaState 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 null