Enumeration MediaPlayerState

The playback state.

Enumeration Members

PlayerStateFailed: 100

100: The media player fails to play the media resource.

PlayerStateIdle: 0

0: The default state. The media player returns this state code before you open the media resource or after you stop the playback.

PlayerStateOpenCompleted: 2

2: Opens the media resource successfully.

PlayerStateOpening: 1

1: Opening the media resource.

PlayerStatePaused: 4

4: Pauses the playback.

PlayerStatePlaybackAllLoopsCompleted: 6

6: The loop is complete.

PlayerStatePlaybackCompleted: 5

5: The playback is complete.

PlayerStatePlaying: 3

3: The media resource is playing.

PlayerStateStopped: 7

7: The playback stops.

Generated using TypeDoc