ScanbotSdkConfig class

Scanbot Barcode SDK initialization config parameters.

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

Constructors

ScanbotSdkConfig({String? licenseKey, bool? loggingEnabled, EncryptionParameters? encryptionParameters, String? storageBaseDirectory, bool? useCameraX, bool? allowGpuAcceleration, bool? allowXnnpackAcceleration, bool? enableNativeLogging})
ScanbotSdkConfig.fromJson(Map<String, dynamic> json)
factory

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 false
getter/setter pair
allowXnnpackAcceleration bool?
If set to false, disable XNN pack optimizations (Android Only). Default is true
getter/setter pair
enableNativeLogging bool?
Enables Scanbot SDK Core native logging Default is true. Android only
getter/setter pair
encryptionParameters EncryptionParameters?
Configuration object that helps to enable encryption inside sdk storage
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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 setterinherited
storageBaseDirectory String?
Optional custom storage base directory. Can be nil.
getter/setter pair
useCameraX bool?
If set to true, Camera X 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