AgoraSettings constructor
AgoraSettings({
- RtcEngine? engine,
- AgoraRtmChannel? agoraRtmChannel,
- AgoraRtmClient? agoraRtmClient,
- AgoraConnectionData? connectionData,
- required List<
AgoraUser> users, - required AgoraUser mainAgoraUser,
- required bool isLocalUserMuted,
- required bool isLocalVideoDisabled,
- required bool visible,
- required ClientRoleType clientRoleType,
- required int localUid,
- String? generatedToken,
- String? generatedRtmToken,
- String? generatedRtmId,
- bool isLoggedIn = false,
- bool isInChannel = false,
- bool isActiveSpeakerDisabled = false,
- Layout layoutType = Layout.grid,
- bool displaySnackbar = false,
- MicState muteRequest = MicState.unmuted,
- CameraState cameraRequest = CameraState.enabled,
- bool showMicMessage = false,
- bool showCameraMessage = false,
- Map<
String, dynamic> ? userdata, - Map<
String, Map< ? userRtmMap,String, dynamic> > - Map<
int, String> ? uidToUserIdMap, - bool turnOnScreenSharing = false,
- RecordingState isCloudRecording = RecordingState.off,
- String? sid,
- String? resourceId,
Implementation
AgoraSettings({
this.engine,
this.agoraRtmChannel,
this.agoraRtmClient,
this.connectionData,
required this.users,
required this.mainAgoraUser,
required this.isLocalUserMuted,
required this.isLocalVideoDisabled,
required this.visible,
required this.clientRoleType,
required this.localUid,
this.generatedToken,
this.generatedRtmToken,
this.generatedRtmId,
this.isLoggedIn = false,
this.isInChannel = false,
this.isActiveSpeakerDisabled = false,
this.layoutType = Layout.grid,
this.displaySnackbar = false,
this.muteRequest = MicState.unmuted,
this.cameraRequest = CameraState.enabled,
this.showMicMessage = false,
this.showCameraMessage = false,
this.userdata,
this.userRtmMap,
this.uidToUserIdMap,
this.isScreenShared = false,
this.turnOnScreenSharing = false,
this.isCloudRecording = RecordingState.off,
this.sid,
this.resourceId,
});