RtcEngineEventHandler constructor

RtcEngineEventHandler({
  1. WarningCallback? warning,
  2. ErrorCallback? error,
  3. ApiCallCallback? apiCallExecuted,
  4. UidWithElapsedAndChannelCallback? joinChannelSuccess,
  5. UidWithElapsedAndChannelCallback? 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. RequestAudioFileInfoCallback? requestAudioFileInfoCallback,
  28. FallbackCallback? localPublishFallbackToAudioOnly,
  29. FallbackWithUidCallback? remoteSubscribeFallbackToAudioOnly,
  30. AudioRouteCallback? audioRouteChanged,
  31. RectCallback? cameraFocusAreaChanged,
  32. RectCallback? cameraExposureAreaChanged,
  33. FacePositionCallback? facePositionChanged,
  34. RtcStatsCallback? rtcStats,
  35. NetworkQualityCallback? lastmileQuality,
  36. NetworkQualityWithUidCallback? networkQuality,
  37. LastmileProbeCallback? lastmileProbeResult,
  38. LocalVideoStatsCallback? localVideoStats,
  39. LocalAudioStatsCallback? localAudioStats,
  40. RemoteVideoStatsCallback? remoteVideoStats,
  41. RemoteAudioStatsCallback? remoteAudioStats,
  42. EmptyCallback? audioMixingFinished,
  43. AudioMixingStateCallback? audioMixingStateChanged,
  44. SoundIdCallback? audioEffectFinished,
  45. RtmpStreamingStateCallback? rtmpStreamingStateChanged,
  46. EmptyCallback? transcodingUpdated,
  47. StreamInjectedStatusCallback? streamInjectedStatus,
  48. StreamMessageCallback? streamMessage,
  49. StreamMessageErrorCallback? streamMessageError,
  50. EmptyCallback? mediaEngineLoadSuccess,
  51. EmptyCallback? mediaEngineStartCallSuccess,
  52. MediaRelayStateCallback? channelMediaRelayStateChanged,
  53. MediaRelayEventCallback? channelMediaRelayEvent,
  54. VideoFrameWithUidCallback? firstRemoteVideoFrame,
  55. UidWithElapsedCallback? firstRemoteAudioFrame,
  56. UidWithElapsedCallback? firstRemoteAudioDecoded,
  57. UidWithMutedCallback? userMuteAudio,
  58. UrlWithErrorCallback? streamPublished,
  59. UrlCallback? streamUnpublished,
  60. TransportStatsCallback? remoteAudioTransportStats,
  61. TransportStatsCallback? remoteVideoTransportStats,
  62. UidWithEnabledCallback? userEnableVideo,
  63. UidWithEnabledCallback? userEnableLocalVideo,
  64. VideoFrameWithUidCallback? firstRemoteVideoDecoded,
  65. EnabledCallback? microphoneEnabled,
  66. EmptyCallback? connectionInterrupted,
  67. EmptyCallback? connectionBanned,
  68. AudioQualityCallback? audioQuality,
  69. EmptyCallback? cameraReady,
  70. EmptyCallback? videoStopped,
  71. MetadataCallback? metadataReceived,
  72. ElapsedCallback? firstLocalAudioFramePublished,
  73. ElapsedCallback? firstLocalVideoFramePublished,
  74. StreamPublishStateCallback? audioPublishStateChanged,
  75. StreamPublishStateCallback? videoPublishStateChanged,
  76. StreamSubscribeStateCallback? audioSubscribeStateChanged,
  77. StreamSubscribeStateCallback? videoSubscribeStateChanged,
  78. RtmpStreamingEventCallback? rtmpStreamingEvent,
  79. UserSuperResolutionEnabledCallback? userSuperResolutionEnabled,
  80. UploadLogResultCallback? uploadLogResult,
  81. EmptyCallback? airPlayIsConnected,
  82. VirtualBackgroundSourceEnabledCallback? virtualBackgroundSourceEnabled,
  83. SnapshotTakenCallback? snapshotTaken,
})

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.requestAudioFileInfoCallback,
  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,
  this.userSuperResolutionEnabled,
  this.uploadLogResult,
  this.airPlayIsConnected,
  this.virtualBackgroundSourceEnabled,
  this.snapshotTaken,
});