Track

data class Track(val trackId: Int, val audioQuality: AudioQuality, val assetPresentation: AssetPresentation, val audioMode: AudioMode, val bitDepth: Int?, val sampleRate: Int?, val manifestHash: String, val streamingSessionId: String, val manifestMimeType: ManifestMimeType, val manifest: String, val licenseSecurityToken: String? = null, val albumReplayGain: Float, val albumPeakAmplitude: Float, val trackReplayGain: Float, val trackPeakAmplitude: Float, val offlineRevalidateAt: Long, val offlineValidUntil: Long) : PlaybackInfo

Playback info with track specific properties.

Constructors

Link copied to clipboard
constructor(trackId: Int, audioQuality: AudioQuality, assetPresentation: AssetPresentation, audioMode: AudioMode, bitDepth: Int?, sampleRate: Int?, manifestHash: String, streamingSessionId: String, manifestMimeType: ManifestMimeType, manifest: String, licenseSecurityToken: String? = null, albumReplayGain: Float, albumPeakAmplitude: Float, trackReplayGain: Float, trackPeakAmplitude: Float, offlineRevalidateAt: Long, offlineValidUntil: Long)

Properties

Link copied to clipboard
open override val albumPeakAmplitude: Float
Link copied to clipboard
open override val albumReplayGain: Float
Link copied to clipboard

The actual asset presentation.

Link copied to clipboard

The actual audio mode.

Link copied to clipboard

The actual audio quality.

Link copied to clipboard

The actual bit depth.

Link copied to clipboard
open override val licenseSecurityToken: String? = null

Token used to fetch DRM license if needed.

Link copied to clipboard
open override val manifest: String

Base64 encoded manifest.

Link copied to clipboard

Unique id for the manifest and the content it refers to.

Link copied to clipboard

A mime type of the manifest.

Link copied to clipboard
open override val offlineRevalidateAt: Long

Indicates the earliest time at which the client is allowed to revalidate an offlined media product.

Link copied to clipboard
open override val offlineValidUntil: Long

Indicates how long an offline is valid for.

Link copied to clipboard
Link copied to clipboard
open override val streamingSessionId: String

A uuid generated by the client for this streaming session.

Link copied to clipboard

The actual track id.

Link copied to clipboard
open override val trackPeakAmplitude: Float
Link copied to clipboard
open override val trackReplayGain: Float