# ScanbotSdkConfig class

Scanbot SDK initialization config parameters.

Annotations
  - @JsonSerializable(createFactory: false, includeIfNull: false, explicitToJson: true)

## Constructors

ScanbotSdkConfig({String? licenseKey, int? storageImageQuality, ImageFormat? storageImageFormat, bool? loggingEnabled, String? storageBaseDirectory, dynamic licenseErrorHandler(Status, SdkFeature?, String)?, DocumentDetectorMode? documentDetectorMode, String? fileEncryptionPassword, FileEncryptionMode? fileEncryptionMode, bool? useCameraX, bool? allowGpuAcceleration, bool? allowXnnpackAcceleration})

## Properties

allowGpuAcceleration ↔ bool?
  If set to false, GPU Acceleration will be disabled for Barcode Scanner, Document Scanner and Generic Document Recognizer (Android only). Default is true.
  getter/setter pair
allowXnnpackAcceleration ↔ bool?
  If set to false, disables XNN pack optimizations (Android only). Default is true.
  getter/setter pair
documentDetectorMode ↔ DocumentDetectorMode?
  Optional document detector mode: ML_BASED - default implementation, Machine Learning based approach EDGE_BASED - default implementation, based on classical edge detection approach
  getter/setter pair
enableNativeLogging ↔ bool?
  Optional boolean flag that enables Scanbot SDK Core native logging (default is false, Android only).
  getter/setter pair
fileEncryptionMode ↔ FileEncryptionMode?
  Length of the key in AES encryption - 128 or 256 bits
  getter/setter pair
fileEncryptionPassword ↔ String?
  A secure password or passphrase to derive the AES key for encryption/decryption
  getter/setter pair
hashCode → int
  The hash code for this object.
  no setter inherited
licenseErrorHandler ↔ (dynamic Function(Status, SdkFeature?, String)?)
  Callback function to get info about problems with license key or concrete feature that is not available for usage
  getter/setter pair
licenseKey ↔ String?
  Your license key for the Scanbot SDK.
  getter/setter pair
loggingEnabled ↔ bool?
  Optional logging flag. While it may be useful for development, consider switching logging OFF in production builds for security and performance reasons!
  getter/setter pair
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited
storageBaseDirectory ↔ String?
  Optional custom storage base directory. Can be nil.
  getter/setter pair
storageImageFormat ↔ ImageFormat?
  Optional image format value in which format all pages will be stored.
  getter/setter pair
storageImageQuality ↔ int?
  Optional image quality value. Defines the quality factor of JPEG images. The value must be between 1 and 100, where 100 means maximum quality and largest file size. The default value is 80 which is a good compromise between image file size and document legibility.
  getter/setter pair
useCameraX ↔ bool?
  If set to true, CameraX will be used for the RTU-UI components (Android only). Default is false.
  getter/setter pair

## Methods

noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
toJson() → Map<String, dynamic>
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited