Can be implemented to overwrite SubtitleTrack.isForced for newly parsed subtitle tracks.


Link copied to clipboard
abstract fun isForcedSubtitle(subtitleTrack: SubtitleTrack): Boolean

Determines if the SubtitleTrack should be selected by the player per default and kept in sync with the selected audio language. In that case the subtitle track will not appear in Source.availableSubtitleTracks.