-
- All Implemented Interfaces:
public class TextTrackDescriptionA TextTrack description contains information of a side-loaded text track, that can be added to the source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTextTrackDescription.BuilderThe builder for TextTrackDescription.
-
Method Summary
Modifier and Type Method Description StringgetSrc()The source URL where the text track can be downloaded from. booleanisDefault()Returns whether this textTrack is the default text track. TextTrackKindgetKind()The kind of the text track. StringgetSrclang()The main language of the track. StringgetLabel()The label for the track which can be used to identify it. -
-
Method Detail
-
getSrc
@NonNull() String getSrc()
The source URL where the text track can be downloaded from. (NonNull)
-
isDefault
boolean isDefault()
Returns whether this textTrack is the default text track.
-
getKind
@Nullable() TextTrackKind getKind()
The kind of the text track.
- For all possibilities, see TextTrackKind.
-
getSrclang
@Nullable() String getSrclang()
The main language of the track. (Nullable)
-
-
-
-