ZEGO::EXPRESS::IZegoMediaPlayerEventHandler

Declared in ZegoExpressEventHandler.h

Includes

Public Func Lists

Public Func Docs

onMediaPlayerStateUpdate

public void onMediaPlayerStateUpdate ( *IZegoMediaPlayer, ZegoMediaPlayerState, int)

播放器播放状态回调

Parameters
mediaPlayer 回调的播放器实例
state 播放器状态
errorCode 错误码,详情请参考常用错误码文档 []

onMediaPlayerNetworkEvent

public void onMediaPlayerNetworkEvent ( *IZegoMediaPlayer, ZegoMediaPlayerNetworkEvent)

播放器网络状态事件回调

Parameters
mediaPlayer 回调的播放器实例
networkEvent 网络状态事件

onMediaPlayerPlayingProgress

public void onMediaPlayerPlayingProgress ( *IZegoMediaPlayer, unsigned long long)

播放器播放进度回调

Parameters
mediaPlayer 回调的播放器实例
millisecond 进度,单位为毫秒