NIMWINDOWSSDKOptions constructor

NIMWINDOWSSDKOptions({
  1. String? databaseEncryptKey,
  2. bool? enableClientAntispam = false,
  3. bool? enabledHttps = true,
  4. bool? needUpdateLbsBeforeRelogin = false,
  5. bool? shouldVchatMissMessageMarkUnread = false,
  6. int? maxAutoLoginRetryTimes = 0,
  7. String? preloadImageNameTemplate,
  8. int? preloadImageQuality,
  9. String? preloadImageResize,
  10. bool? useAssetServerConfig,
  11. required String appKey,
  12. String? sdkRootDir,
  13. int? cndTrackInterval,
  14. int? customClientType,
  15. bool? shouldSyncStickTopSessionInfos,
  16. bool? enableReportLogAutomatically,
  17. String? loginCustomTag,
  18. bool? enableDatabaseBackup,
  19. bool? shouldSyncUnreadCount,
  20. bool? shouldConsiderRevokedMessageUnreadCount,
  21. bool? enableTeamMessageReadReceipt,
  22. bool? shouldTeamNotificationMessageMarkUnread,
  23. bool? enableAnimatedImageThumbnail,
  24. bool? enablePreloadMessageAttachment,
  25. NIMLoginInfo? autoLoginInfo,
  26. Map<NIMNosScene, int>? nosSceneConfig,
})

Implementation

NIMWINDOWSSDKOptions({
  /// windows configurations
  this.databaseEncryptKey,
  this.enableClientAntispam = false,
  this.enabledHttps = true,
  this.needUpdateLbsBeforeRelogin = false,
  this.shouldVchatMissMessageMarkUnread = false,
  this.maxAutoLoginRetryTimes = 0,
  this.preloadImageNameTemplate,
  this.preloadImageQuality,
  this.preloadImageResize,
  this.useAssetServerConfig,

  /// common configurations
  required String appKey,
  String? sdkRootDir,
  int? cndTrackInterval,
  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,
        autoLoginInfo: autoLoginInfo,
        nosSceneConfig: nosSceneConfig,
        sdkRootDir: sdkRootDir,
        cdnTrackInterval: cndTrackInterval,
        customClientType: customClientType,
        shouldSyncStickTopSessionInfos: shouldSyncStickTopSessionInfos,
        enableReportLogAutomatically: enableReportLogAutomatically,
        loginCustomTag: loginCustomTag,
        enableDatabaseBackup: enableDatabaseBackup,
        shouldSyncUnreadCount: shouldSyncUnreadCount,
        shouldConsiderRevokedMessageUnreadCount:
            shouldConsiderRevokedMessageUnreadCount,
        enableTeamMessageReadReceipt: enableTeamMessageReadReceipt,
        shouldTeamNotificationMessageMarkUnread:
            shouldTeamNotificationMessageMarkUnread,
        enableAnimatedImageThumbnail: enableAnimatedImageThumbnail,
        enablePreloadMessageAttachment: enablePreloadMessageAttachment,
      );