AudioTrack

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

Model class for an audio track.

Constructors

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

Properties

Link copied to clipboard
val id: Int
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.