public static enum TagModelMedia.Type extends Enum<TagModelMedia.Type>
| Enum Constant | Description |
|---|---|
AUDIO |
|
CLOSED_CAPTIONS |
|
SUBTITLES |
|
VIDEO |
| Modifier and Type | Method | Description |
|---|---|---|
static TagModelMedia.Type |
fromString(String text) |
|
String |
toString() |
|
static TagModelMedia.Type |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TagModelMedia.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagModelMedia.Type AUDIO
public static final TagModelMedia.Type CLOSED_CAPTIONS
public static final TagModelMedia.Type SUBTITLES
public static final TagModelMedia.Type VIDEO
public static TagModelMedia.Type fromString(String text)
public String toString()
toString in class Enum<TagModelMedia.Type>public static TagModelMedia.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TagModelMedia.Type[] values()
for (TagModelMedia.Type c : TagModelMedia.Type.values()) System.out.println(c);