MediaPlayerState

Playback state.

Enumerations

PLAYER_STATE_UNKNOWN
(-1): Unknown player state.
PLAYER_STATE_IDLE
(0): Default state. The player is in this state before opening media resources or after stopping playback.
PLAYER_STATE_OPENING
(1): Opening media resource.
PLAYER_STATE_OPEN_COMPLETED
(2): Media resource opened successfully.
PLAYER_STATE_PLAYING
(3): Playing media resource.
PLAYER_STATE_PAUSED
(4): Playback paused.
PLAYER_STATE_PLAYBACK_COMPLETED
(5): Playback completed.
PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED
(6): Loop playback completed.
PLAYER_STATE_STOPPED
(7): Playback stopped.
PLAYER_STATE_PAUSING_INTERNAL
(50): Player pausing (internal state).
PLAYER_STATE_STOPPING_INTERNAL
(51): Player stopping (internal state).
PLAYER_STATE_SEEKING_INTERNAL
(52): Player seeking (internal state).
PLAYER_STATE_GETTING_INTERNAL
(53): Player retrieving (internal state).
PLAYER_STATE_NONE_INTERNAL
(54): Empty state of the state machine (internal state).
PLAYER_STATE_DO_NOTHING_INTERNAL
(55): No-op state of the state machine (internal state).
PLAYER_STATE_SET_TRACK_INTERNAL
(56): Player setting track (internal state).
PLAYER_STATE_FAILED
(100): Failed to play media resource.