PlayerState

State of the media player.

Since
Available since v4.4.0.

Enumerations

IDLE
(0): Idle state.
OPENING
(1): Opening the URL resource. This state is returned after calling openWithUrl.
OPEN_COMPLETED
(2): URL resource successfully opened. This state is returned after openWithUrl successfully opens the resource.
PLAYING
(3): Playing.
PAUSED
(4): Playback paused. This state is returned after successfully calling pause.
PLAYBACK_COMPLETED
(5): Playback completed.
STOPPED
(6): Playback stopped. This state is returned after successfully calling stop.
FAILED
(7): Playback failed. This state is returned when an internal error occurs. After receiving this state, you need to call stop and then openWithUrl to reopen the resource.