Struct PlaybackStatus
sealed struct PlaybackStatus
The PlaybackStatus type represents the various states of media playback.
It encapsulates the current playback status through a predefined set of constant
values but new constants could be added in the future.
Fields
Constants
PLAYING
Indicates the media session is in playing state. This status is used when media playback is actively ongoing.PlaybackStatus={"PLAYING"}
PAUSED
Indicates the media session is in paused state. This status is used when playback has been temporarily halted, but playback can resume from the current position.PlaybackStatus={"PAUSED"}
NOT_PLAYING
Indicates the media session is not playing any media. This status is used when there is no active playback, either because it has not started, it has ended or its been explicitly stopped.PlaybackStatus={"NOT_PLAYING"}
BUFFERING
Indicates the media session is in playing state but currently buffering data. This status is used when a media session is temporarily unable to play because its waiting for content to load or waiting for more data to arrive.PlaybackStatus={"BUFFERING"}

