AgoraMediaPlayerState Constants Reference

Declared in AgoraMediaPlayerKit.h

AgoraMediaPlayerState

AgoraMediaPlayerState, reporting the playback state.

Constants

AgoraMediaPlayerStateIdle

0: Default state. The mediaplayer kit returns this state code before you open the media resource or after you stop the playback.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateOpening

1: Opening the media resource.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateOpenCompleted

2: Opens the media resource successfully.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlaying

3: Playing the media resource.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePaused

4: Pauses the playback.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlayBackCompleted

5: The playback is completed.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlayBackAllLoopsCompleted

6: The loop playback is completed.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateStopped

7: Stops the playback.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateFailed

100: Fails to play the media resource.

Declared In AgoraMediaPlayerKit.h.

Declared In

AgoraMediaPlayerKit.h