OnPlaybackStoppedRequest

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

Item id.

Link copied to clipboard
val liveStreamId: String? = null

The live stream id.

Link copied to clipboard
val mediaSourceId: String? = null

The id of the MediaSource.

Link copied to clipboard
val nextMediaType: String? = null

The next media type that will play.

Link copied to clipboard
val playSessionId: String? = null

The play session id.

Link copied to clipboard
val positionTicks: Long? = null

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