Subtitles

data class Subtitles(val subtitles: List<SubtitleInfo>, val selectedSubtitle: SubtitleInfo? = null)(source)

Caption tracks available for the current video plus the one that is showing.

Constructors

Link copied to clipboard
constructor(subtitles: List<SubtitleInfo>, selectedSubtitle: SubtitleInfo? = null)

Properties

Link copied to clipboard

the active track, or null when captions are off.

Link copied to clipboard

every selectable caption track.