AudioTrackInfo

data class AudioTrackInfo(val index: Int, val trackId: String?, val label: String?, val languageCode: String?)(source)

One selectable audio track of the current video, as listed in the player's settings menu.

Constructors

Link copied to clipboard
constructor(index: Int, trackId: String?, label: String?, languageCode: String?)

Properties

Link copied to clipboard
val index: Int

position of the track in the player's track list.

Link copied to clipboard

human-readable name to show in a track picker, when the manifest provides one.

Link copied to clipboard

ISO 639 language code of the track, for example "en", when known.

Link copied to clipboard

stable track identifier from the stream manifest, when the manifest provides one.