OnPlaybackProgressRequest

data class OnPlaybackProgressRequest(val itemId: UUID, val mediaSourceId: String? = null, val positionTicks: Long? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val volumeLevel: Int? = null, val playMethod: PlayMethod? = null, val liveStreamId: String? = null, val playSessionId: String? = null, val repeatMode: RepeatMode? = null, val isPaused: Boolean? = false, val isMuted: Boolean? = false)

Reports a session's playback progress.

Constructors

Link copied to clipboard
constructor(itemId: UUID, mediaSourceId: String? = null, positionTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, volumeLevel: Int? = null, playMethod: PlayMethod? = null, liveStreamId: String? = null, playSessionId: String? = null, repeatMode: RepeatMode? = null, isPaused: Boolean? = false, isMuted: Boolean? = false)

Properties

Link copied to clipboard
val audioStreamIndex: Int? = null

The audio stream index.

Link copied to clipboard
val isMuted: Boolean? = false

Indicates if the player is muted.

Link copied to clipboard
val isPaused: Boolean? = false

Indicates if the player is paused.

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 playMethod: PlayMethod? = null

The play method.

Link copied to clipboard
val playSessionId: String? = null

The play session id.

Link copied to clipboard
val positionTicks: Long? = null

Optional. The current position, in ticks. 1 tick = 10000 ms.

Link copied to clipboard
val repeatMode: RepeatMode? = null

The repeat mode.

Link copied to clipboard

The subtitle stream index.

Link copied to clipboard
val volumeLevel: Int? = null

Scale of 0-100.