OptionalformatSpecifies the file format to be used by this track.
OptionalidentifierThe unique identifier for this track. If no value is provided, a random UUIDv4 will be generated for it.
OptionalisIf set to true, this track would be considered as default. Default is false.
OptionalisTells 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.
OptionallabelThe label for this track.
OptionallanguageThe IETF BCP 47 language tag associated with this track, e.g. pt, en, es etc.
OptionalrolesAn array of MediaTrackRole objects, each describing a specific role or characteristic of the subtitle track. This property provides a unified way to understand track purposes (e.g., for accessibility) across platforms.
OptionalurlThe URL to the timed file, e.g. WebVTT file.
Describes a subtitle track.
Platform
Android, iOS, tvOS