RtcChannelEventHandler constructor Null safety

RtcChannelEventHandler(
  1. {WarningCallback? warning,
  2. ErrorCallback? error,
  3. UidWithElapsedAndChannelCallback? joinChannelSuccess,
  4. UidWithElapsedAndChannelCallback? rejoinChannelSuccess,
  5. RtcStatsCallback? leaveChannel,
  6. ClientRoleCallback? clientRoleChanged,
  7. UidWithElapsedCallback? userJoined,
  8. UserOfflineCallback? userOffline,
  9. ConnectionStateCallback? connectionStateChanged,
  10. EmptyCallback? connectionLost,
  11. TokenCallback? tokenPrivilegeWillExpire,
  12. EmptyCallback? requestToken,
  13. UidCallback? activeSpeaker,
  14. VideoSizeCallback? videoSizeChanged,
  15. RemoteVideoStateCallback? remoteVideoStateChanged,
  16. RemoteAudioStateCallback? remoteAudioStateChanged,
  17. FallbackCallback? localPublishFallbackToAudioOnly,
  18. FallbackWithUidCallback? remoteSubscribeFallbackToAudioOnly,
  19. RtcStatsCallback? rtcStats,
  20. NetworkQualityWithUidCallback? networkQuality,
  21. RemoteVideoStatsCallback? remoteVideoStats,
  22. RemoteAudioStatsCallback? remoteAudioStats,
  23. RtmpStreamingStateCallback? rtmpStreamingStateChanged,
  24. EmptyCallback? transcodingUpdated,
  25. StreamInjectedStatusCallback? streamInjectedStatus,
  26. StreamMessageCallback? streamMessage,
  27. StreamMessageErrorCallback? streamMessageError,
  28. MediaRelayStateCallback? channelMediaRelayStateChanged,
  29. MediaRelayEventCallback? channelMediaRelayEvent,
  30. MetadataCallback? metadataReceived,
  31. StreamPublishStateCallback? audioPublishStateChanged,
  32. StreamPublishStateCallback? videoPublishStateChanged,
  33. StreamSubscribeStateCallback? audioSubscribeStateChanged,
  34. StreamSubscribeStateCallback? videoSubscribeStateChanged,
  35. RtmpStreamingEventCallback? rtmpStreamingEvent,
  36. UserSuperResolutionEnabledCallback? userSuperResolutionEnabled}
)

Constructs a RtcChannelEventHandler

Implementation

RtcChannelEventHandler({
  this.warning,
  this.error,
  this.joinChannelSuccess,
  this.rejoinChannelSuccess,
  this.leaveChannel,
  this.clientRoleChanged,
  this.userJoined,
  this.userOffline,
  this.connectionStateChanged,
  this.connectionLost,
  this.tokenPrivilegeWillExpire,
  this.requestToken,
  this.activeSpeaker,
  this.videoSizeChanged,
  this.remoteVideoStateChanged,
  this.remoteAudioStateChanged,
  this.localPublishFallbackToAudioOnly,
  this.remoteSubscribeFallbackToAudioOnly,
  this.rtcStats,
  this.networkQuality,
  this.remoteVideoStats,
  this.remoteAudioStats,
  this.rtmpStreamingStateChanged,
  this.transcodingUpdated,
  this.streamInjectedStatus,
  this.streamMessage,
  this.streamMessageError,
  this.channelMediaRelayStateChanged,
  this.channelMediaRelayEvent,
  this.metadataReceived,
  this.audioPublishStateChanged,
  this.videoPublishStateChanged,
  this.audioSubscribeStateChanged,
  this.videoSubscribeStateChanged,
  this.rtmpStreamingEvent,
  this.userSuperResolutionEnabled,
});