Media Player Kit v1.3.0 API Reference for Android
|
Public Member Functions | |
PLAYER_EVENT_SWITCH_BEGIN (8) | |
PLAYER_EVENT_SWITCH_COMPLETE (9) | |
PLAYER_EVENT_SWITCH_ERROR (10) | |
Static Public Member Functions | |
static int | getValue (MediaPlayerEvent type) |
Public Attributes | |
PLAYER_EVENT_SEEK_BEGIN =(0) | |
PLAYER_EVENT_SEEK_COMPLETE =(1) | |
PLAYER_EVENT_SEEK_ERROR =(2) | |
PLAYER_EVENT_AUDIO_TRACK_CHANGED =(5) | |
PLAYER_EVENT_BUFFER_LOW =(6) | |
PLAYER_EVENT_BUFFER_RECOVER =(7) | |
Private Member Functions | |
MediaPlayerEvent (int v) | |
Private Attributes | |
int | value |
MediaPlayerEvent, reporting the result of the seek operation to the new playback position.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SWITCH_BEGIN | ( | 8 | ) |
8
: Starts switching the media resource.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SWITCH_COMPLETE | ( | 9 | ) |
9
: Media resource switching is complete.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SWITCH_ERROR | ( | 10 | ) |
10
: Media resource switching error.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SEEK_BEGIN =(0) |
0
: Begins to seek to the new playback position.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SEEK_COMPLETE =(1) |
1
: Finish seeking to the new playback position.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_SEEK_ERROR =(2) |
2
: Error occurs when seeking to the new playback position.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_AUDIO_TRACK_CHANGED =(5) |
5
: The audio track used by the player has been changed.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_BUFFER_LOW =(6) |
6
: The currently buffered data is not enough to support playback.
io.agora.mediaplayer.Constants.MediaPlayerEvent.PLAYER_EVENT_BUFFER_RECOVER =(7) |
7
: The currently buffered data is just enough to support playback.