PlayStateApi
Functions
Link copied to clipboard
suspend fun markPlayedItem(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null, datePlayed: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Marks an item as played for user.
Link copied to clipboard
suspend fun markUnplayedItem(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Marks an item as unplayed for user.
Link copied to clipboard
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.
Link copied to clipboard
suspend fun onPlaybackStart(itemId: <Error class: unknown class>, mediaSourceId: String? = null, audioStreamIndex: Int? = null, subtitleStreamIndex: Int? = null, playMethod: <Error class: unknown class>? = null, liveStreamId: String? = null, playSessionId: String? = null, canSeek: Boolean? = false): Response<Unit>
Reports that a session has begun playing an item.
Link copied to clipboard
Link copied to clipboard
Pings a playback session.
Link copied to clipboard
Reports playback progress within a session.
Link copied to clipboard
Reports playback has started within a session.
Link copied to clipboard
Reports playback has stopped within a session.