NIMAndroidSDKOptions constructor Null safety

NIMAndroidSDKOptions(
  1. {bool improveSDKProcessPriority = true,
  2. bool preLoadServers = true,
  3. bool reducedIM = false,
  4. bool checkManifestConfig = false,
  5. bool disableAwake = false,
  6. bool enabledQChatMessageCache = false,
  7. String? databaseEncryptKey,
  8. int thumbnailSize = 350,
  9. int fetchServerTimeInterval = 2000,
  10. String? customPushContentType,
  11. NIMMixPushConfig? mixPushConfig,
  12. NIMStatusBarNotificationConfig? notificationConfig,
  13. bool enableFcs = true,
  14. required String appKey,
  15. String? sdkRootDir,
  16. int? cdnTrackInterval,
  17. int? customClientType,
  18. bool? shouldSyncStickTopSessionInfos,
  19. bool? enableReportLogAutomatically,
  20. String? loginCustomTag,
  21. bool? enableDatabaseBackup,
  22. bool? shouldSyncUnreadCount,
  23. bool? shouldConsiderRevokedMessageUnreadCount,
  24. bool? enableTeamMessageReadReceipt,
  25. bool? shouldTeamNotificationMessageMarkUnread,
  26. bool? enableAnimatedImageThumbnail,
  27. bool? enablePreloadMessageAttachment,
  28. bool? useAssetServerAddressConfig,
  29. NIMLoginInfo? autoLoginInfo,
  30. Map<NIMNosScene, int>? nosSceneConfig}
)

Implementation

NIMAndroidSDKOptions({
  /// android configurations
  this.improveSDKProcessPriority = true,
  this.preLoadServers = true,
  this.reducedIM = false,
  this.checkManifestConfig = false,
  this.disableAwake = false,
  this.enabledQChatMessageCache = false,
  this.databaseEncryptKey,
  this.thumbnailSize = 350,
  this.fetchServerTimeInterval = 2000,
  this.customPushContentType,
  this.mixPushConfig,
  this.notificationConfig,
  this.enableFcs = true,

  /// common configurations
  required String appKey,
  String? sdkRootDir,
  int? cdnTrackInterval,
  int? customClientType,
  bool? shouldSyncStickTopSessionInfos,
  bool? enableReportLogAutomatically,
  String? loginCustomTag,
  bool? enableDatabaseBackup,
  bool? shouldSyncUnreadCount,
  bool? shouldConsiderRevokedMessageUnreadCount,
  bool? enableTeamMessageReadReceipt,
  bool? shouldTeamNotificationMessageMarkUnread,
  bool? enableAnimatedImageThumbnail,
  bool? enablePreloadMessageAttachment,
  bool? useAssetServerAddressConfig,
  NIMLoginInfo? autoLoginInfo,
  Map<NIMNosScene, int>? nosSceneConfig,
}) : super(
        appKey: appKey,
        sdkRootDir: sdkRootDir,
        cdnTrackInterval: cdnTrackInterval,
        customClientType: customClientType,
        shouldSyncStickTopSessionInfos: shouldSyncStickTopSessionInfos,
        enableReportLogAutomatically: enableReportLogAutomatically,
        loginCustomTag: loginCustomTag,
        enableDatabaseBackup: enableDatabaseBackup,
        shouldSyncUnreadCount: shouldSyncUnreadCount,
        shouldConsiderRevokedMessageUnreadCount:
            shouldConsiderRevokedMessageUnreadCount,
        enableTeamMessageReadReceipt: enableTeamMessageReadReceipt,
        shouldTeamNotificationMessageMarkUnread:
            shouldTeamNotificationMessageMarkUnread,
        enableAnimatedImageThumbnail: enableAnimatedImageThumbnail,
        enablePreloadMessageAttachment: enablePreloadMessageAttachment,
        useAssetServerAddressConfig: useAssetServerAddressConfig,
        autoLoginInfo: autoLoginInfo,
        nosSceneConfig: nosSceneConfig,
      );