MediaPlayerState

The state of the media player.

Enumerations

PlayerStateIdle
0: Default state. The player returns this state code before you open a media file and after playback ends.
PlayerStateOpening
1: Opening the media file.
PlayerStateOpenCompleted
2: Media file opened successfully.
PlayerStatePlaying
3: Playing.
PlayerStatePaused
4: Playback paused.
PlayerStatePlaybackCompleted
5: Playback completed.
PlayerStatePlaybackAllLoopsCompleted
6: All loops of playback completed.
PlayerStateStopped
7: Playback stopped.
PlayerStateFailed
100: Playback failed.