onPlaybackStopped

suspend fun onPlaybackStopped(itemId: <Error class: unknown class>, mediaSourceId: String? = null, nextMediaType: String? = null, positionTicks: Long? = null, liveStreamId: String? = null, playSessionId: String? = null): Response<Unit>

Reports that a session has stopped playing an item.

Parameters

itemId

Item id.

mediaSourceId

The id of the MediaSource.

nextMediaType

The next media type that will play.

positionTicks

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

liveStreamId

The live stream id.

playSessionId

The play session id.


suspend fun onPlaybackStopped(request: <Error class: unknown class>): Response<Unit>

Reports that a session has stopped playing an item.

Parameters

request

The request parameters