PlaybackState

data class PlaybackState(val playerState: PlayerState, val isLive: Boolean, val currentPosition: Duration?, val seekProjection: Duration? = null, val duration: Duration?, val playbackSpeed: Float)(source)

Represents a state of playback, duration and playback speed. It can be used to determine whether media is playing and to infer current and future position and duration.

Constructors

Link copied to clipboard
constructor(playerState: PlayerState, isLive: Boolean, currentPosition: Duration?, seekProjection: Duration? = null, duration: Duration?, playbackSpeed: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard