AgoraMediaPlayerState Constants Reference

Declared in AgoraMediaPlayerKit.h

AgoraMediaPlayerState

AgoraMediaPlayerState,播放器的状态

Constants

AgoraMediaPlayerStateIdle

0: 默认状态。播放器会在你打开媒体文件之前和结束播放之后返回该状态码。

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateOpening

1: 正在打开媒体文件

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateOpenCompleted

2: 成功打开媒体文件

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlaying

3: 正在播放

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePaused

4: 暂停播放

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlayBackCompleted

5: 播放完毕

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStatePlayBackAllLoopsCompleted

6: 循环播放已结束

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateStopped

7: 播放结束。

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPlayerStateFailed

100: 播放失败

Declared In AgoraMediaPlayerKit.h.

Declared In

AgoraMediaPlayerKit.h