im.zego.zegoexpress.callback.IZegoMediaPlayerEventHandler

Declared in callback/IZegoMediaPlayerEventHandler.java

Public-Func Lists

Public-Func Docs

onMediaPlayerStateUpdate

public void onMediaPlayerStateUpdate (ZegoMediaPlayer mediaPlayer, ZegoMediaPlayerState state, int errorCode)

Media player playback status callback notification.

Parameters
mediaPlayer Callback player object
state Media player status
errorCode Error code, please refer to the common error code document [] for details

onMediaPlayerNetworkEvent

public void onMediaPlayerNetworkEvent (ZegoMediaPlayer mediaPlayer, ZegoMediaPlayerNetworkEvent networkEvent)

Media player network status event callback notification.

Parameters
mediaPlayer Callback player object
networkEvent Network status event

onMediaPlayerPlayingProgress

public void onMediaPlayerPlayingProgress (ZegoMediaPlayer mediaPlayer, long millisecond)

Media player playback progress notification.

Parameters
mediaPlayer Callback player object
millisecond Progress in milliseconds