onPlaybackProgress
suspend fun onPlaybackProgress(itemId: <Error class: unknown class>, mediaSourceId: String? = null, positionTicks: Long? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, volumeLevel: Int? = null, playMethod: <Error class: unknown class>? = null, liveStreamId: String? = null, playSessionId: String? = null, repeatMode: <Error class: unknown class>? = null, isPaused: Boolean? = false, isMuted: Boolean? = false): Response<Unit>
Reports a session's playback progress.
Parameters
itemId
Item id.
mediaSourceId
The id of the MediaSource.
positionTicks
Optional. The current position, in ticks. 1 tick = 10000 ms.
audioStreamIndex
The audio stream index.
subtitleStreamIndex
The subtitle stream index.
volumeLevel
Scale of 0-100.
playMethod
The play method.
liveStreamId
The live stream id.
playSessionId
The play session id.
repeatMode
The repeat mode.
isPaused
Indicates if the player is paused.
isMuted
Indicates if the player is muted.
Reports a session's playback progress.
Parameters
request
The request parameters