public enum TextTrackKind extends Enum<TextTrackKind>
Enum Constant and Description |
---|
CAPTIONS
The text track contains closed captions, a translation of dialogue and sound effects.
|
CHAPTERS
The text track contains chapter titles suitable for navigating the media resource.
|
DESCRIPTIONS
The text track contains descriptions, a textual description of the video.
|
METADATA
The text track contains metadata.
|
SUBTITLES
The text track contains subtitles.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
The textual representation of the text track kind.
|
static TextTrackKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextTrackKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextTrackKind SUBTITLES
public static final TextTrackKind CAPTIONS
public static final TextTrackKind DESCRIPTIONS
public static final TextTrackKind CHAPTERS
public static final TextTrackKind METADATA
public static TextTrackKind[] values()
for (TextTrackKind c : TextTrackKind.values()) System.out.println(c);
public static TextTrackKind 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 String getType()