AgoraConnectionData constructor
AgoraConnectionData({
- required String appId,
- required String channelName,
- String? rtmChannelName,
- int? uid = 0,
- String? rtmUid,
- String? username,
- String? tokenUrl,
- String? cloudRecordingUrl,
- String? tempToken,
- String? tempRtmToken,
- List<
AreaCode> areaCode = const [AreaCode.areaCodeGlob], - bool rtmEnabled = true,
- int? screenSharingUid = 1000,
- bool screenSharingEnabled = true,
- 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,
});