SubtitleInfo

data class SubtitleInfo(val title: String, val language: String)(source)

One caption track of the current video, as listed in the player's captions menu.

Constructors

Link copied to clipboard
constructor(title: String, language: String)

Properties

Link copied to clipboard

ISO 639 language code the track was uploaded under, for example "en".

Link copied to clipboard

display name of the track, for example "English".