SendCommand

@Serializable
data class SendCommand(val groupId: UUID, val playlistItemId: UUID, val when: DateTime, val positionTicks: Long? = null, val command: SendCommandType, val emittedAt: DateTime)

Class SendCommand.

Constructors

Link copied to clipboard
constructor(groupId: UUID, playlistItemId: UUID, when: DateTime, positionTicks: Long? = null, command: SendCommandType, emittedAt: DateTime)

Properties

Link copied to clipboard
@SerialName(value = "Command")
val command: SendCommandType

The command.

Link copied to clipboard
@SerialName(value = "EmittedAt")
val emittedAt: DateTime

The UTC time when this command has been emitted.

Link copied to clipboard
@SerialName(value = "GroupId")
val groupId: UUID

The group identifier.

Link copied to clipboard
@SerialName(value = "PlaylistItemId")
val playlistItemId: UUID

The playlist identifier of the playing item.

Link copied to clipboard
@SerialName(value = "PositionTicks")
val positionTicks: Long?

The position ticks.

Link copied to clipboard
@SerialName(value = "When")
val when: DateTime

The UTC time when to execute the command.