Added in API level 30

TrackData


class TrackData
kotlin.Any
   ↳ android.media.MediaParser.TrackData

Holds information associated with a track.

Summary

Properties
DrmInitData?

Holds DrmInitData necessary to acquire keys associated with the track, or null if the track has no encryption data.

MediaFormat

Holds MediaFormat information for the track.

Properties

drmInitData

Added in API level 30
val drmInitData: DrmInitData?

Holds DrmInitData necessary to acquire keys associated with the track, or null if the track has no encryption data.

mediaFormat

Added in API level 30
val mediaFormat: MediaFormat

Holds MediaFormat information for the track.