MediaPlayerState
The playback state.
Enumerator
- playerStateIdle
- 0: The default state. The media player returns this state code before you open the media resource or after you stop the playback.
- playerStateOpening
- 1: Opening the media resource.
- playerStateOpenCompleted
- 2: Opens the media resource successfully.
- playerStatePlaying
- 3: The media resource is playing.
- playerStatePaused
- 4: Pauses the playback.
- playerStatePlaybackCompleted
- 5: The playback is complete.
- playerStatePlaybackAllLoopsCompleted
- 6: The loop is complete.
- playerStateStopped
- 7: The playback stops.
- playerStateFailed
- 100: The media player fails to play the media resource.