Broadcast

data class Broadcast(val id: String, val audioQuality: AudioQuality, 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 broadcast specific properties.

Constructors

Link copied to clipboard
constructor(id: String, audioQuality: AudioQuality, 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 audio quality.

Link copied to clipboard
val id: String

The actual broadcastId or djSessionId from a dj session.

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
@SerializedName(value = "manifestType")
open override val manifestMimeType: ManifestMimeType

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
open override val streamingSessionId: String

A uuid generated by the client for this streaming session.

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