静态 Public 成员函数 | |
---|---|
static int | getValue (MediaPlayerEvent type) |
Public 属性 | |
---|---|
PLAYER_EVENT_SEEK_BEGIN =(0) | |
PLAYER_EVENT_SEEK_COMPLETE =(1) | |
PLAYER_EVENT_SEEK_ERROR =(2) | |
PLAYER_EVENT_BUFFER_LOW =(6) | |
PLAYER_EVENT_BUFFER_RECOVER =(7) |
Private 成员函数 | |
---|---|
MediaPlayerEvent (int v) |
Private 属性 | |
---|---|
int | value |
详细描述
MediaPlayerEvent,定位播放的结果
类成员变量说明
PLAYER_EVENT_SEEK_BEGIN
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerEvent.PLAYER_EVENT_SEEK_BEGIN =(0)
0
: 开始定位
PLAYER_EVENT_SEEK_COMPLETE
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerEvent.PLAYER_EVENT_SEEK_COMPLETE =(1)
1
: 完成定位
PLAYER_EVENT_SEEK_ERROR
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerEvent.PLAYER_EVENT_SEEK_ERROR =(2)
2
: 定位出错
PLAYER_EVENT_BUFFER_LOW
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerEvent.PLAYER_EVENT_BUFFER_LOW =(6)
6
: 当前缓冲的数据不足以支持播放
PLAYER_EVENT_BUFFER_RECOVER
org.ar.rtc.mediaplayer.PlayerConstans.MediaPlayerEvent.PLAYER_EVENT_BUFFER_RECOVER =(7)
7
: 当前缓冲的数据刚好能支持播放