|
Agora Java API Reference for Android
|
Events that occur when media resources are preloaded. More...
Static Public Member Functions | |
| static int | getValue (MediaPlayerPreloadEvent type) |
| static MediaPlayerPreloadEvent | fromNativeIndex (int nativeIndex) |
| static MediaPlayerPreloadEvent | getTypeByValue (int value) |
Public Attributes | |
| PLAYER_PRELOAD_EVENT_BEGIN =(0) | |
| PLAYER_PRELOAD_EVENT_COMPLETE =(1) | |
| PLAYER_PRELOAD_EVENT_ERROR =(2) | |
Events that occur when media resources are preloaded.
| io.agora.mediaplayer.Constants.MediaPlayerPreloadEvent.PLAYER_PRELOAD_EVENT_BEGIN =(0) |
0: Starts preloading media resources.
| io.agora.mediaplayer.Constants.MediaPlayerPreloadEvent.PLAYER_PRELOAD_EVENT_COMPLETE =(1) |
1: Preloading media resources is complete.
| io.agora.mediaplayer.Constants.MediaPlayerPreloadEvent.PLAYER_PRELOAD_EVENT_ERROR =(2) |
2: An error occurs when preloading media resources.
1.8.18