NEMeetingOptions constructor

NEMeetingOptions({
  1. bool? noVideo,
  2. bool? noAudio,
  3. bool? showMeetingTime,
  4. bool? noChat,
  5. bool? noInvite,
  6. bool? noSip,
  7. bool? noMinimize,
  8. bool? noGallery,
  9. bool? noSwitchAudioMode,
  10. bool? noSwitchCamera,
  11. bool? noWhiteBoard,
  12. bool? noRename,
  13. bool? noCloudRecord,
  14. int? defaultWindowMode = gallery,
  15. int? meetingIdDisplayOption,
  16. int? joinTimeout,
  17. bool? audioAINSEnabled,
  18. bool? showMemberTag,
  19. bool? noMuteAllVideo,
  20. bool? noMuteAllAudio,
  21. NERoomAudioProfile? audioProfile,
  22. List<DeviceOrientation>? restorePreferredOrientations,
  23. List<NEMeetingMenuItem>? injectedToolbarMenuItems,
  24. List<NEMeetingMenuItem>? injectedMoreMenuItems,
  25. Map<String, dynamic>? extras,
})

Implementation

NEMeetingOptions({
  bool? noVideo,
  bool? noAudio,
  bool? showMeetingTime,
  bool? noChat,
  bool? noInvite,
  bool? noSip,
  bool? noMinimize,
  bool? noGallery,
  bool? noSwitchAudioMode,
  bool? noSwitchCamera,
  bool? noWhiteBoard,
  bool? noRename,
  bool? noCloudRecord,
  int? defaultWindowMode = gallery,
  int? meetingIdDisplayOption,
  int? joinTimeout,
  bool? audioAINSEnabled,
  bool? showMemberTag,
  bool? noMuteAllVideo,
  bool? noMuteAllAudio,
  NERoomAudioProfile? audioProfile,
  List<DeviceOrientation>? restorePreferredOrientations,
  List<NEMeetingMenuItem>? injectedToolbarMenuItems,
  List<NEMeetingMenuItem>? injectedMoreMenuItems,
  Map<String, dynamic>? extras,
}) : super.initial() {
  this.noVideo = noVideo ?? true;
  this.noAudio = noAudio ?? true;
  this.noMuteAllVideo = noMuteAllVideo ?? true;
  this.noMuteAllAudio = noMuteAllAudio ?? false;
  this.showMeetingTime = showMeetingTime ?? true;
  this.noChat = noChat ?? false;
  this.noInvite = noInvite ?? false;
  this.noSip = noSip ?? false;
  this.noMinimize = noMinimize ?? true;
  this.noGallery = noGallery ?? false;
  this.noSwitchAudioMode = noSwitchAudioMode ?? false;
  this.noSwitchCamera = noSwitchCamera ?? false;
  this.noWhiteBoard = noWhiteBoard ?? false;
  this.noRename = noRename ?? false;
  this.noCloudRecord = noCloudRecord ?? true;
  this.defaultWindowMode = defaultWindowMode ?? gallery;
  this.meetingIdDisplayOption = meetingIdDisplayOption ?? 0;
  this.joinTimeout = joinTimeout ?? NEMeetingConstants.meetingJoinTimeout;
  this.restorePreferredOrientations =
      restorePreferredOrientations ?? <DeviceOrientation>[];
  this.injectedToolbarMenuItems =
      injectedToolbarMenuItems ?? NEMenuItems.defaultToolbarMenuItems;
  this.injectedMoreMenuItems =
      injectedMoreMenuItems ?? NEMenuItems.defaultMoreMenuItems;
  this.extras = extras ?? <String, dynamic>{};
  this.audioProfile = audioProfile;
  this.showMemberTag = showMemberTag ?? false;
}