NIMAndroidSDKOptions constructor

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. NIMDisplayNameForMessageNotifierProvider? displayNameForMessageNotifierProvider,
  15. NIMAvatarForMessageNotifierProvider? avatarForMessageNotifierProvider,
  16. NIMDisplayTitleForMessageNotifierProvider? displayTitleForMessageNotifierProvider,
  17. NIMMakeNotifyContentProvider? makeNotifyContentProvider,
  18. NIMMakeTickerProvider? makeTickerProvider,
  19. NIMMakeRevokeMsgTipProvider? makeRevokeMsgTipProvider,
  20. required String appKey,
  21. String? sdkRootDir,
  22. int? cdnTrackInterval,
  23. int? customClientType,
  24. bool? shouldSyncStickTopSessionInfos,
  25. bool? enableReportLogAutomatically,
  26. String? loginCustomTag,
  27. bool? enableDatabaseBackup,
  28. bool? shouldSyncUnreadCount,
  29. bool? shouldConsiderRevokedMessageUnreadCount,
  30. bool? enableTeamMessageReadReceipt,
  31. bool? shouldTeamNotificationMessageMarkUnread,
  32. bool? enableAnimatedImageThumbnail,
  33. bool? enablePreloadMessageAttachment,
  34. bool? useAssetServerAddressConfig,
  35. NIMLoginInfo? autoLoginInfo,
  36. Map<NIMNosScene, int>? nosSceneConfig,
  37. NIMServerConfig? serverConfig,
})

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,
  this.displayNameForMessageNotifierProvider,
  this.avatarForMessageNotifierProvider,
  this.displayTitleForMessageNotifierProvider,
  this.makeNotifyContentProvider,
  this.makeTickerProvider,
  this.makeRevokeMsgTipProvider,

  /// 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,
  NIMServerConfig? serverConfig,
}) : 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,
        serverConfig: serverConfig,
      );