PlayerStateInfo

data class PlayerStateInfo(val positionTicks: Long? = null, val canSeek: Boolean, val isPaused: Boolean, val isMuted: Boolean, val volumeLevel: Int? = null, val audioStreamIndex: Int? = null, val subtitleStreamIndex: Int? = null, val mediaSourceId: String? = null, val playMethod: PlayMethod? = null, val repeatMode: RepeatMode, val playbackOrder: PlaybackOrder, val liveStreamId: String? = null)

Constructors

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

Properties

Link copied to clipboard
val audioStreamIndex: Int? = null

The index of the now playing audio stream.

Link copied to clipboard

A value indicating whether this instance can seek.

Link copied to clipboard

A value indicating whether this instance is muted.

Link copied to clipboard

A value indicating whether this instance is paused.

Link copied to clipboard
val liveStreamId: String? = null

The now playing live stream identifier.

Link copied to clipboard
val mediaSourceId: String? = null

The now playing media version identifier.

Link copied to clipboard

The playback order.

Link copied to clipboard
val playMethod: PlayMethod? = null

The play method.

Link copied to clipboard
val positionTicks: Long? = null

The now playing position ticks.

Link copied to clipboard

The repeat mode.

Link copied to clipboard

The index of the now playing subtitle stream.

Link copied to clipboard
val volumeLevel: Int? = null

The volume level.