RtcEngineEventHandler constructor

RtcEngineEventHandler(
  1. {WarningCallback warning,
  2. ErrorCallback error,
  3. ApiCallCallback apiCallExecuted,
  4. UidWithElapsedAndChannelCallback joinChannelSuccess,
  5. RtcStatsCallback rejoinChannelSuccess,
  6. RtcStatsCallback leaveChannel,
  7. UserAccountCallback localUserRegistered,
  8. UserInfoCallback userInfoUpdated,
  9. ClientRoleCallback clientRoleChanged,
  10. UidWithElapsedCallback userJoined,
  11. UserOfflineCallback userOffline,
  12. ConnectionStateCallback connectionStateChanged,
  13. NetworkTypeCallback networkTypeChanged,
  14. EmptyCallback connectionLost,
  15. TokenCallback tokenPrivilegeWillExpire,
  16. EmptyCallback requestToken,
  17. AudioVolumeCallback audioVolumeIndication,
  18. UidCallback activeSpeaker,
  19. ElapsedCallback firstLocalAudioFrame,
  20. VideoFrameCallback firstLocalVideoFrame,
  21. UidWithMutedCallback userMuteVideo,
  22. VideoSizeCallback videoSizeChanged,
  23. RemoteVideoStateCallback remoteVideoStateChanged,
  24. LocalVideoStateCallback localVideoStateChanged,
  25. RemoteAudioStateCallback remoteAudioStateChanged,
  26. LocalAudioStateCallback localAudioStateChanged,
  27. FallbackCallback localPublishFallbackToAudioOnly,
  28. FallbackWithUidCallback remoteSubscribeFallbackToAudioOnly,
  29. AudioRouteCallback audioRouteChanged,
  30. RectCallback cameraFocusAreaChanged,
  31. RectCallback cameraExposureAreaChanged,
  32. FacePositionCallback facePositionChanged,
  33. RtcStatsCallback rtcStats,
  34. NetworkQualityCallback lastmileQuality,
  35. NetworkQualityWithUidCallback networkQuality,
  36. LastmileProbeCallback lastmileProbeResult,
  37. LocalVideoStatsCallback localVideoStats,
  38. LocalAudioStatsCallback localAudioStats,
  39. RemoteVideoStatsCallback remoteVideoStats,
  40. RemoteAudioStatsCallback remoteAudioStats,
  41. EmptyCallback audioMixingFinished,
  42. AudioMixingStateCallback audioMixingStateChanged,
  43. SoundIdCallback audioEffectFinished,
  44. RtmpStreamingStateCallback rtmpStreamingStateChanged,
  45. EmptyCallback transcodingUpdated,
  46. StreamInjectedStatusCallback streamInjectedStatus,
  47. StreamMessageCallback streamMessage,
  48. StreamMessageErrorCallback streamMessageError,
  49. EmptyCallback mediaEngineLoadSuccess,
  50. EmptyCallback mediaEngineStartCallSuccess,
  51. MediaRelayStateCallback channelMediaRelayStateChanged,
  52. MediaRelayEventCallback channelMediaRelayEvent,
  53. VideoFrameWithUidCallback firstRemoteVideoFrame,
  54. UidWithElapsedCallback firstRemoteAudioFrame,
  55. UidWithElapsedCallback firstRemoteAudioDecoded,
  56. UidWithMutedCallback userMuteAudio,
  57. UrlWithErrorCallback streamPublished,
  58. UrlCallback streamUnpublished,
  59. TransportStatsCallback remoteAudioTransportStats,
  60. TransportStatsCallback remoteVideoTransportStats,
  61. UidWithEnabledCallback userEnableVideo,
  62. UidWithEnabledCallback userEnableLocalVideo,
  63. VideoFrameWithUidCallback firstRemoteVideoDecoded,
  64. EnabledCallback microphoneEnabled,
  65. EmptyCallback connectionInterrupted,
  66. EmptyCallback connectionBanned,
  67. AudioQualityCallback audioQuality,
  68. EmptyCallback cameraReady,
  69. EmptyCallback videoStopped,
  70. MetadataCallback metadataReceived,
  71. ElapsedCallback firstLocalAudioFramePublished,
  72. ElapsedCallback firstLocalVideoFramePublished,
  73. StreamPublishStateCallback audioPublishStateChanged,
  74. StreamPublishStateCallback videoPublishStateChanged,
  75. StreamSubscribeStateCallback audioSubscribeStateChanged,
  76. StreamSubscribeStateCallback videoSubscribeStateChanged,
  77. 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});