Specifies the file format to be used by this track.
Optional
identifierThe unique identifier for this track. If no value is provided, a random UUIDv4 will be generated for it.
Optional
isIf set to true, this track would be considered as default. Default is false
.
Optional
isTells if a subtitle track is forced. If set to true
it means that the player should automatically
select and switch this subtitle according to the selected audio language. Forced subtitles do
not appear in Player.getAvailableSubtitles
.
Default is false
.
The label for this track.
The IETF BCP 47 language tag associated with this track, e.g. pt
, en
, es
etc.
The URL to the timed file, e.g. WebVTT file.
A subtitle track that can be added to
SourceConfig.subtitleTracks
.