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.