Class TextTrackDescription
-
- All Implemented Interfaces:
public class TextTrackDescription
A 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 class
TextTrackDescription.Builder
The builder for TextTrackDescription.
-
Method Summary
Modifier and Type Method Description String
getSrc()
The source URL where the text track can be downloaded from. boolean
isDefault()
Returns whether this textTrack is the default text track. TextTrackKind
getKind()
The kind of the text track. String
getSrclang()
The main language of the track. String
getLabel()
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.
- Returns:
The TextTrackKind. (Nullable)
-
getSrclang
@Nullable() String getSrclang()
The main language of the track. (Nullable)
-
-
-
-