public static interface IPlayerBase.Listener
Modifier and Type | Method and Description |
---|---|
void |
onBufferingUpdate(int percent) |
int |
onCompletion() |
boolean |
onError(int what,
int extra,
java.lang.Exception e) |
boolean |
onInfo(int what,
int extra) |
void |
onPrepared() |
void |
onSeekComplete() |
void |
onStateChanged(int playbackState)
Called when the value returned from
IPlayerBase.getPlaybackState() changes. |
void |
onVideoSizeChanged(int width,
int height,
int unappliedRotationDegrees,
float pixelWidthHeightRatio) |
void onPrepared()
int onCompletion()
C.CMD_RETURN_FORCED
/C.CMD_RETURN_NORMAL
void onBufferingUpdate(int percent)
void onSeekComplete()
void onVideoSizeChanged(int width, int height, int unappliedRotationDegrees, float pixelWidthHeightRatio)
boolean onError(int what, int extra, java.lang.Exception e)
boolean onInfo(int what, int extra)
void onStateChanged(int playbackState)
IPlayerBase.getPlaybackState()
changes.