AgoraSettings constructor

AgoraSettings({
  1. RtcEngine? engine,
  2. AgoraRtmChannel? agoraRtmChannel,
  3. AgoraRtmClient? agoraRtmClient,
  4. AgoraConnectionData? connectionData,
  5. required List<AgoraUser> users,
  6. required AgoraUser mainAgoraUser,
  7. required bool isLocalUserMuted,
  8. required bool isLocalVideoDisabled,
  9. required bool visible,
  10. required ClientRoleType clientRoleType,
  11. required int localUid,
  12. String? generatedToken,
  13. String? generatedRtmToken,
  14. String? generatedRtmId,
  15. bool isLoggedIn = false,
  16. bool isInChannel = false,
  17. bool isActiveSpeakerDisabled = false,
  18. Layout layoutType = Layout.grid,
  19. bool displaySnackbar = false,
  20. MicState muteRequest = MicState.unmuted,
  21. CameraState cameraRequest = CameraState.enabled,
  22. bool showMicMessage = false,
  23. bool showCameraMessage = false,
  24. Map<String, dynamic>? userdata,
  25. Map<String, Map<String, dynamic>>? userRtmMap,
  26. Map<int, String>? uidToUserIdMap,
  27. bool isScreenShared = false,
  28. bool turnOnScreenSharing = false,
  29. RecordingState isCloudRecording = RecordingState.off,
  30. String? sid,
  31. 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,
});