SubtitleTrack

data class SubtitleTrack(val id: String, val label: String, val lang: String, val rendererIndex: Int, val trackGroupIndex: Int, val index: Int) : BaseTrack, Parcelable

Model class for a subtitle track.

Constructors

Link copied to clipboard
constructor(id: String, label: String, lang: String, rendererIndex: Int, trackGroupIndex: Int, index: Int)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
open override val index: Int

Index for this track within its trackGroup.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val rendererIndex: Int

Index for the renderer that handles this track.

Link copied to clipboard
open override val trackGroupIndex: Int

Index for the trackGroup this track belongs to, relative to all the avaiable track groups.

Link copied to clipboard
open override val type: Int

androidx.media3.common.C track type associated with this track.