-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum TextTrackType
The content type of a text track.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATERANGE
The track contains HLS EXT-X-DATERANGE content.
CEA608
The track contains CEA608 content.
ID3
The track contains ID3 content.
EVENTSTREAM
The track contains Event Stream content.
EMSG
The track contains emsg (Event Message) content.
WEBVTT
The track contains WebVTT (Web Video Text Tracks) content.
TTML
The track contains TTML (Timed Text Markup Language) content.
SRT
The track contains SRT (SubRip Text) content.
NONE
The type of the tracks contents is unknown.
-
Method Summary
Modifier and Type Method Description static TextTrackType
from(String type)
Creates a text track type state from a textual representation. String
toString()
static Array<TextTrackType>
values()
static TextTrackType
valueOf(String name)
String
getType()
The textual representation of the text track type. -
-
Method Detail
-
from
static TextTrackType from(String type)
Creates a text track type state from a textual representation.
Default: NONE
- Parameters:
type
- The textual representation of the text track type.
-
values
static Array<TextTrackType> values()
-
valueOf
static TextTrackType valueOf(String name)
-
-
-
-