Enum Constant and Description |
---|
AUDIO_TRACK_ID |
VIDEO_TRACK_ID |
Modifier and Type | Method and Description |
---|---|
static Constant |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
void |
setValue(java.lang.String value) |
static Constant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constant VIDEO_TRACK_ID
public static final Constant AUDIO_TRACK_ID
public static Constant[] values()
for (Constant c : Constant.values()) System.out.println(c);
public static Constant 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 java.lang.String getValue()
public void setValue(java.lang.String value)
public static Constant fromString(java.lang.String value)