AgoraConnectionData constructor

AgoraConnectionData({
  1. required String appId,
  2. required String channelName,
  3. String? rtmChannelName,
  4. int? uid = 0,
  5. String? rtmUid,
  6. String? username,
  7. String? tokenUrl,
  8. String? cloudRecordingUrl,
  9. String? tempToken,
  10. String? tempRtmToken,
  11. List<AreaCode> areaCode = const [AreaCode.areaCodeGlob],
  12. bool rtmEnabled = true,
  13. int? screenSharingUid = 1000,
  14. bool screenSharingEnabled = true,
  15. Function? cloudRecordingCallback,
})

Implementation

AgoraConnectionData({
  required this.appId,
  required this.channelName,
  this.rtmChannelName,
  this.uid = 0,
  this.rtmUid,
  this.username,
  this.tokenUrl,
  this.cloudRecordingUrl,
  this.tempToken,
  this.tempRtmToken,
  this.areaCode = const [AreaCode.areaCodeGlob],
  this.rtmEnabled = true,
  this.screenSharingUid = 1000,
  this.screenSharingEnabled = true,
  this.cloudRecordingCallback,
});