AgoraEventHandlers constructor
const
AgoraEventHandlers({
- dynamic warning()?,
- dynamic apiCallExecuted()?,
- dynamic rejoinChannelSuccess()?,
- dynamic localUserRegistered()?,
- dynamic userInfoUpdated()?,
- dynamic clientRoleChanged()?,
- dynamic connectionStateChanged()?,
- dynamic networkTypeChanged()?,
- dynamic connectionLost()?,
- dynamic requestToken()?,
- dynamic audioVolumeIndication()?,
- dynamic firstLocalAudioFrame()?,
- dynamic firstLocalVideoFrame()?,
- dynamic userMuteVideo()?,
- dynamic videoSizeChanged()?,
- dynamic localPublishFallbackToAudioOnly()?,
- dynamic remoteSubscribeFallbackToAudioOnly()?,
- dynamic audioRouteChanged()?,
- dynamic cameraFocusAreaChanged()?,
- dynamic cameraExposureAreaChanged()?,
- dynamic facePositionChanged()?,
- dynamic rtcStats()?,
- dynamic lastmileQuality()?,
- dynamic networkQuality()?,
- dynamic lastmileProbeResult()?,
- dynamic localVideoStats()?,
- dynamic localAudioStats()?,
- dynamic remoteVideoStats()?,
- dynamic remoteAudioStats()?,
- dynamic audioMixingFinished()?,
- dynamic audioMixingStateChanged()?,
- dynamic audioEffectFinished()?,
- dynamic rtmpStreamingStateChanged()?,
- dynamic transcodingUpdated()?,
- dynamic streamInjectedStatus()?,
- dynamic streamMessage()?,
- dynamic streamMessageError()?,
- dynamic mediaEngineLoadSuccess()?,
- dynamic mediaEngineStartCallSuccess()?,
- dynamic channelMediaRelayStateChanged()?,
- dynamic channelMediaRelayEvent()?,
- dynamic metadataReceived()?,
- dynamic firstLocalAudioFramePublished()?,
- dynamic firstLocalVideoFramePublished()?,
- dynamic audioPublishStateChanged()?,
- dynamic videoPublishStateChanged()?,
- dynamic audioSubscribeStateChanged()?,
- dynamic videoSubscribeStateChanged()?,
- dynamic rtmpStreamingEvent()?,
- dynamic userSuperResolutionEnabled()?,
- dynamic uploadLogResult()?,
- dynamic userJoined()?,
- dynamic joinChannelSuccess()?,
- dynamic onError(
- ErrorCode errorCode
- dynamic activeSpeaker(
- int uid
- dynamic leaveChannel(
- RtcStats stats
- dynamic localAudioStateChanged(
- AudioLocalState state,
- AudioLocalError error
- dynamic localVideoStateChanged(
- LocalVideoStreamState localVideoState,
- LocalVideoStreamError error
- dynamic remoteAudioStateChanged(
- int uid,
- AudioRemoteState state,
- AudioRemoteStateReason reason,
- int elapsed,
- dynamic remoteVideoStateChanged(
- int uid,
- VideoRemoteState state,
- VideoRemoteStateReason reason,
- int elapsed,
- dynamic tokenPrivilegeWillExpire(
- String token
- dynamic userOffline(
- int uid,
- UserOfflineReason reason
Implementation
const AgoraEventHandlers({
this.warning,
this.apiCallExecuted,
this.rejoinChannelSuccess,
this.localUserRegistered,
this.userInfoUpdated,
this.clientRoleChanged,
this.connectionStateChanged,
this.networkTypeChanged,
this.connectionLost,
this.requestToken,
this.audioVolumeIndication,
this.firstLocalAudioFrame,
this.firstLocalVideoFrame,
this.userMuteVideo,
this.videoSizeChanged,
this.localPublishFallbackToAudioOnly,
this.remoteSubscribeFallbackToAudioOnly,
this.audioRouteChanged,
this.cameraFocusAreaChanged,
this.cameraExposureAreaChanged,
this.facePositionChanged,
this.rtcStats,
this.lastmileQuality,
this.networkQuality,
this.lastmileProbeResult,
this.localVideoStats,
this.localAudioStats,
this.remoteVideoStats,
this.remoteAudioStats,
this.audioMixingFinished,
this.audioMixingStateChanged,
this.audioEffectFinished,
this.rtmpStreamingStateChanged,
this.transcodingUpdated,
this.streamInjectedStatus,
this.streamMessage,
this.streamMessageError,
this.mediaEngineLoadSuccess,
this.mediaEngineStartCallSuccess,
this.channelMediaRelayStateChanged,
this.channelMediaRelayEvent,
this.metadataReceived,
this.firstLocalAudioFramePublished,
this.firstLocalVideoFramePublished,
this.audioPublishStateChanged,
this.videoPublishStateChanged,
this.audioSubscribeStateChanged,
this.videoSubscribeStateChanged,
this.rtmpStreamingEvent,
this.userSuperResolutionEnabled,
this.uploadLogResult,
this.userJoined,
this.joinChannelSuccess,
this.onError,
this.activeSpeaker,
this.leaveChannel,
this.localAudioStateChanged,
this.localVideoStateChanged,
this.remoteAudioStateChanged,
this.remoteVideoStateChanged,
this.tokenPrivilegeWillExpire,
this.userOffline,
});