NIMSDKOptions constructor

NIMSDKOptions({
  1. required String appKey,
  2. String? sdkRootDir,
  3. int? cdnTrackInterval,
  4. bool? shouldSyncStickTopSessionInfos,
  5. bool? enableReportLogAutomatically,
  6. bool? enableDatabaseBackup,
  7. String? loginCustomTag,
  8. int? customClientType,
  9. bool? shouldSyncUnreadCount,
  10. bool? shouldConsiderRevokedMessageUnreadCount,
  11. bool? enableTeamMessageReadReceipt,
  12. bool? shouldTeamNotificationMessageMarkUnread,
  13. bool? enableAnimatedImageThumbnail,
  14. bool? enablePreloadMessageAttachment,
  15. bool? useAssetServerAddressConfig,
  16. NIMLoginInfo? autoLoginInfo,
  17. Map<NIMNosScene, int>? nosSceneConfig,
  18. NIMServerConfig? serverConfig,
})

Implementation

NIMSDKOptions(
    {required this.appKey,
    this.sdkRootDir,
    this.cdnTrackInterval,
    this.shouldSyncStickTopSessionInfos,
    this.enableReportLogAutomatically,
    this.enableDatabaseBackup,
    this.loginCustomTag,
    this.customClientType,
    this.shouldSyncUnreadCount,
    this.shouldConsiderRevokedMessageUnreadCount,
    this.enableTeamMessageReadReceipt,
    this.shouldTeamNotificationMessageMarkUnread,
    this.enableAnimatedImageThumbnail,
    this.enablePreloadMessageAttachment,
    this.useAssetServerAddressConfig,
    this.autoLoginInfo,
    this.nosSceneConfig,
    this.serverConfig});