interface ScanbotBarcodeSdkConfiguration {
    allowGpuAcceleration?: boolean;
    allowXnnpackAcceleration?: boolean;
    enableNativeLogging?: boolean;
    fileEncryptionMode?: FileEncryptionMode;
    fileEncryptionPassword?: string;
    licenseKey?: string;
    loggingEnabled?: boolean;
    storageBaseDirectory?: string;
    useCameraX?: boolean;
}

Properties

allowGpuAcceleration?: boolean

If set to true, GPU Acceleration will be enabled for Barcode Scanner, Document Scanner and Generic Document Recognizer (Android only). Default is true.

allowXnnpackAcceleration?: boolean

Enables/disables XNNPACK acceleration for TensorFlow ML models, which provides highly optimized implementations of floating-point neural network operators (Android only)

enableNativeLogging?: boolean

Optional boolean flag that enables Scanbot SDK Core native logging (default is false, Android only).

fileEncryptionMode?: FileEncryptionMode

Optional file encryption mode, 'AES128' or 'AES256'.

fileEncryptionPassword?: string

Optional file encryption password. Refer to the section "Storage Encryption" for more details.

licenseKey?: string

Your license key for the Scanbot SDK. See the "License Key" section below.

loggingEnabled?: boolean

Optional boolean flag to enable logging. See the "Logging" section below.

storageBaseDirectory?: string

Optional directory as file URI to override the default storage base directory of the Scanbot SDK. Refer to the section "Storage" for more details.

useCameraX?: boolean

If set to true, Camera X will be used for the RTU-UI components (Android only). Default is true.