Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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

PlaybackStatus = {"PLAYING"}
Indicates the media session is in playing state. This status is used when media playback is actively ongoing.

PAUSED

PlaybackStatus = {"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.

NOT_PLAYING

PlaybackStatus = {"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.

BUFFERING

PlaybackStatus = {"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.
Last modified on October 22, 2026