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

The audio stream index.

Link copied to clipboard

Indicates if the player is muted.

Link copied to clipboard

Indicates if the player is paused.

Link copied to clipboard

Item id.

Link copied to clipboard

The live stream id.

Link copied to clipboard

The id of the MediaSource.

Link copied to clipboard

The play method.

Link copied to clipboard

The play session id.

Link copied to clipboard

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

Link copied to clipboard

The repeat mode.

Link copied to clipboard

The subtitle stream index.

Link copied to clipboard

Scale of 0-100.