RtcEngineEventHandler constructor
- {WarningCallback warning,
- ErrorCallback error,
- ApiCallCallback apiCallExecuted,
- UidWithElapsedAndChannelCallback joinChannelSuccess,
- RtcStatsCallback rejoinChannelSuccess,
- RtcStatsCallback leaveChannel,
- UserAccountCallback localUserRegistered,
- UserInfoCallback userInfoUpdated,
- ClientRoleCallback clientRoleChanged,
- UidWithElapsedCallback userJoined,
- UserOfflineCallback userOffline,
- ConnectionStateCallback connectionStateChanged,
- NetworkTypeCallback networkTypeChanged,
- EmptyCallback connectionLost,
- TokenCallback tokenPrivilegeWillExpire,
- EmptyCallback requestToken,
- AudioVolumeCallback audioVolumeIndication,
- UidCallback activeSpeaker,
- ElapsedCallback firstLocalAudioFrame,
- VideoFrameCallback firstLocalVideoFrame,
- UidWithMutedCallback userMuteVideo,
- VideoSizeCallback videoSizeChanged,
- RemoteVideoStateCallback remoteVideoStateChanged,
- LocalVideoStateCallback localVideoStateChanged,
- RemoteAudioStateCallback remoteAudioStateChanged,
- LocalAudioStateCallback localAudioStateChanged,
- FallbackCallback localPublishFallbackToAudioOnly,
- FallbackWithUidCallback remoteSubscribeFallbackToAudioOnly,
- AudioRouteCallback audioRouteChanged,
- RectCallback cameraFocusAreaChanged,
- RectCallback cameraExposureAreaChanged,
- FacePositionCallback facePositionChanged,
- RtcStatsCallback rtcStats,
- NetworkQualityCallback lastmileQuality,
- NetworkQualityWithUidCallback networkQuality,
- LastmileProbeCallback lastmileProbeResult,
- LocalVideoStatsCallback localVideoStats,
- LocalAudioStatsCallback localAudioStats,
- RemoteVideoStatsCallback remoteVideoStats,
- RemoteAudioStatsCallback remoteAudioStats,
- EmptyCallback audioMixingFinished,
- AudioMixingStateCallback audioMixingStateChanged,
- SoundIdCallback audioEffectFinished,
- RtmpStreamingStateCallback rtmpStreamingStateChanged,
- EmptyCallback transcodingUpdated,
- StreamInjectedStatusCallback streamInjectedStatus,
- StreamMessageCallback streamMessage,
- StreamMessageErrorCallback streamMessageError,
- EmptyCallback mediaEngineLoadSuccess,
- EmptyCallback mediaEngineStartCallSuccess,
- MediaRelayStateCallback channelMediaRelayStateChanged,
- MediaRelayEventCallback channelMediaRelayEvent,
- VideoFrameWithUidCallback firstRemoteVideoFrame,
- UidWithElapsedCallback firstRemoteAudioFrame,
- UidWithElapsedCallback firstRemoteAudioDecoded,
- UidWithMutedCallback userMuteAudio,
- UrlWithErrorCallback streamPublished,
- UrlCallback streamUnpublished,
- TransportStatsCallback remoteAudioTransportStats,
- TransportStatsCallback remoteVideoTransportStats,
- UidWithEnabledCallback userEnableVideo,
- UidWithEnabledCallback userEnableLocalVideo,
- VideoFrameWithUidCallback firstRemoteVideoDecoded,
- EnabledCallback microphoneEnabled,
- EmptyCallback connectionInterrupted,
- EmptyCallback connectionBanned,
- AudioQualityCallback audioQuality,
- EmptyCallback cameraReady,
- EmptyCallback videoStopped,
- MetadataCallback metadataReceived,
- ElapsedCallback firstLocalAudioFramePublished,
- ElapsedCallback firstLocalVideoFramePublished,
- StreamPublishStateCallback audioPublishStateChanged,
- StreamPublishStateCallback videoPublishStateChanged,
- StreamSubscribeStateCallback audioSubscribeStateChanged,
- StreamSubscribeStateCallback videoSubscribeStateChanged,
- RtmpStreamingEventCallback rtmpStreamingEvent}
Constructs a RtcEngineEventHandler
Implementation
RtcEngineEventHandler({this.warning,
this.error,
this.apiCallExecuted,
this.joinChannelSuccess,
this.rejoinChannelSuccess,
this.leaveChannel,
this.localUserRegistered,
this.userInfoUpdated,
this.clientRoleChanged,
this.userJoined,
this.userOffline,
this.connectionStateChanged,
this.networkTypeChanged,
this.connectionLost,
this.tokenPrivilegeWillExpire,
this.requestToken,
this.audioVolumeIndication,
this.activeSpeaker,
this.firstLocalAudioFrame,
this.firstLocalVideoFrame,
this.userMuteVideo,
this.videoSizeChanged,
this.remoteVideoStateChanged,
this.localVideoStateChanged,
this.remoteAudioStateChanged,
this.localAudioStateChanged,
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.firstRemoteVideoFrame,
this.firstRemoteAudioFrame,
this.firstRemoteAudioDecoded,
this.userMuteAudio,
this.streamPublished,
this.streamUnpublished,
this.remoteAudioTransportStats,
this.remoteVideoTransportStats,
this.userEnableVideo,
this.userEnableLocalVideo,
this.firstRemoteVideoDecoded,
this.microphoneEnabled,
this.connectionInterrupted,
this.connectionBanned,
this.audioQuality,
this.cameraReady,
this.videoStopped,
this.metadataReceived,
this.firstLocalAudioFramePublished,
this.firstLocalVideoFramePublished,
this.audioPublishStateChanged,
this.videoPublishStateChanged,
this.audioSubscribeStateChanged,
this.videoSubscribeStateChanged,
this.rtmpStreamingEvent});