PlayQueueUpdate

@Serializable
data class PlayQueueUpdate(val reason: PlayQueueUpdateReason, val lastUpdate: DateTime, val playlist: List<SyncPlayQueueItem>, val playingItemIndex: Int, val startPositionTicks: Long, val isPlaying: Boolean, val shuffleMode: GroupShuffleMode, val repeatMode: GroupRepeatMode)

Class PlayQueueUpdate.

Constructors

Link copied to clipboard
constructor(reason: PlayQueueUpdateReason, lastUpdate: DateTime, playlist: List<SyncPlayQueueItem>, playingItemIndex: Int, startPositionTicks: Long, isPlaying: Boolean, shuffleMode: GroupShuffleMode, repeatMode: GroupRepeatMode)

Properties

Link copied to clipboard
@SerialName(value = "IsPlaying")
val isPlaying: Boolean

A value indicating whether the current item is playing.

Link copied to clipboard
@SerialName(value = "LastUpdate")
val lastUpdate: DateTime

The UTC time of the last change to the playing queue.

Link copied to clipboard
@SerialName(value = "PlayingItemIndex")
val playingItemIndex: Int

The playing item index in the playlist.

Link copied to clipboard
@SerialName(value = "Playlist")
val playlist: List<SyncPlayQueueItem>

The playlist.

Link copied to clipboard
@SerialName(value = "Reason")
val reason: PlayQueueUpdateReason

The request type that originated this update.

Link copied to clipboard
@SerialName(value = "RepeatMode")
val repeatMode: GroupRepeatMode

The repeat mode.

Link copied to clipboard
@SerialName(value = "ShuffleMode")
val shuffleMode: GroupShuffleMode

The shuffle mode.

Link copied to clipboard
@SerialName(value = "StartPositionTicks")
val startPositionTicks: Long

The start position ticks.