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. String? databaseEncryptKey,
  7. int thumbnailSize = 350,
  8. int fetchServerTimeInterval = 2000,
  9. String? customPushContentType,
  10. NIMMixPushConfig? mixPushConfig,
  11. NIMStatusBarNotificationConfig? notificationConfig,
  12. required String appKey,
  13. String? sdkRootDir,
  14. int? cdnTrackInterval,
  15. int? customClientType,
  16. bool? shouldSyncStickTopSessionInfos,
  17. bool? enableReportLogAutomatically,
  18. String? loginCustomTag,
  19. bool? enableDatabaseBackup,
  20. bool? shouldSyncUnreadCount,
  21. bool? shouldConsiderRevokedMessageUnreadCount,
  22. bool? enableTeamMessageReadReceipt,
  23. bool? shouldTeamNotificationMessageMarkUnread,
  24. bool? enableAnimatedImageThumbnail,
  25. bool? enablePreloadMessageAttachment,
  26. NIMLoginInfo? autoLoginInfo,
  27. Map<NIMNosScene, int>? nosSceneConfig}
)

Implementation

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

  /// 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,
  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,
        autoLoginInfo: autoLoginInfo,
        nosSceneConfig: nosSceneConfig,
      );