PlaybackState

@Serializable
data class PlaybackState(val device: Device? = null, val repeatState: String? = null, val shuffleState: Boolean? = null, val smartShuffle: Boolean? = null, val context: Context? = null, val timestamp: Long? = null, val progressMs: Int? = null, val isPlaying: Boolean? = null, val item: PlaybackItem? = null, val currentlyPlayingType: String? = null, val actions: Actions? = null)

Constructors

Link copied to clipboard
constructor(device: Device? = null, repeatState: String? = null, shuffleState: Boolean? = null, smartShuffle: Boolean? = null, context: Context? = null, timestamp: Long? = null, progressMs: Int? = null, isPlaying: Boolean? = null, item: PlaybackItem? = null, currentlyPlayingType: String? = null, actions: Actions? = null)

Properties

Link copied to clipboard
val actions: Actions? = null
Link copied to clipboard
val context: Context? = null
Link copied to clipboard
@SerialName(value = "currently_playing_type")
val currentlyPlayingType: String? = null
Link copied to clipboard
val device: Device? = null
Link copied to clipboard
@SerialName(value = "is_playing")
val isPlaying: Boolean? = null
Link copied to clipboard
val item: PlaybackItem? = null
Link copied to clipboard
@SerialName(value = "progress_ms")
val progressMs: Int? = null
Link copied to clipboard
@SerialName(value = "repeat_state")
val repeatState: String? = null
Link copied to clipboard
@SerialName(value = "shuffle_state")
val shuffleState: Boolean? = null
Link copied to clipboard
@SerialName(value = "smart_shuffle")
val smartShuffle: Boolean? = null
Link copied to clipboard
val timestamp: Long? = null