Enum TextTrackType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum TextTrackType extends Enum<TextTrackType>
The content type of a text track.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTextTrackType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<TextTrackType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEThe type of the tracks contents is unknown.
SRTThe track contains SRT (SubRip Text) content.
TTMLThe track contains TTML (Timed Text Markup Language) content.
WEBVTTThe track contains WebVTT (Web Video Text Tracks) content.
EMSGThe track contains emsg (Event Message) content.
EVENTSTREAMThe track contains Event Stream content.
ID3The track contains ID3 content.
CEA608The track contains CEA608 content.
TIMECODEThe track contains time codes content.
DATERANGEThe track contains HLS EXT-X-DATERANGE content.
-
Method Summary
Modifier and Type Method Description StringtoString()final TextTrackTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<TextTrackType>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetType()The textual representation of the text track type. final EnumEntries<TextTrackType>getEntries()The content type of a text track. -
-
Method Detail
-
valueOf
final TextTrackType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<TextTrackType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<TextTrackType> getEntries()
The content type of a text track.
-
-
-
-