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.