NIMWINDOWSSDKOptions(- {String? databaseEncryptKey,
- bool? enableClientAntispam = false,
- bool? enabledHttps = true,
- bool? needUpdateLbsBeforeRelogin = false,
- bool? shouldVchatMissMessageMarkUnread = false,
- int? maxAutoLoginRetryTimes = 0,
- String? preloadImageNameTemplate,
- int? preloadImageQuality,
- String? preloadImageResize,
- bool? useAssetServerConfig,
- 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}
)
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,
);