OnPlaybackStoppedRequest

@Serializable
data class OnPlaybackStoppedRequest(val itemId: UUID, val mediaSourceId: String? = null, val nextMediaType: String? = null, val positionTicks: Long? = null, val liveStreamId: String? = null, val playSessionId: String? = null)

Reports that a session has stopped playing an item.

Constructors

Link copied to clipboard
constructor(itemId: UUID, mediaSourceId: String? = null, nextMediaType: String? = null, positionTicks: Long? = null, liveStreamId: String? = null, playSessionId: String? = null)

Properties

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

Item id.

Link copied to clipboard
@SerialName(value = "liveStreamId")
val liveStreamId: String?

The live stream id.

Link copied to clipboard
@SerialName(value = "mediaSourceId")
val mediaSourceId: String?

The id of the MediaSource.

Link copied to clipboard
@SerialName(value = "nextMediaType")
val nextMediaType: String?

The next media type that will play.

Link copied to clipboard
@SerialName(value = "playSessionId")
val playSessionId: String?

The play session id.

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

Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms.