Class SBSDKConfiguration
- Namespace
- ScanbotSDK.MAUI
- Assembly
- DocumentSDK.MAUI.dll
public sealed class SBSDKConfiguration
- Inheritance
-
SBSDKConfiguration
- Inherited Members
Fields
DetectorType
public DocumentDetectorType DetectorType
Field Value
Encryption
Optional storage encryption. Disabled by default.
public SBSDKEncryption Encryption
Field Value
Properties
AllowGpuAcceleration
Enables GPU acceleration for TensorFlow ML models (Android only). Default is true.
public bool? AllowGpuAcceleration { get; set; }
Property Value
- bool?
AllowXnnpackAcceleration
Allows controlling whether the XNN pack optimizations should be used (Android only). Default is true.
public bool? AllowXnnpackAcceleration { get; set; }
Property Value
- bool?
EnableLogging
Gets or sets a value indicating whether logging should be enabled. True by default.
public bool EnableLogging { get; set; }
Property Value
EnableNativeLogging
Set to true
if logging in C++ native core should be enabled, otherwise false
.
Default is false
.
Note: Android Only.
public bool EnableNativeLogging { get; set; }
Property Value
StorageBaseDirectory
Optional storage base directory of the SDK to store images and other files. Use this configuration property to overwrite the default storage directory of the SDK or leave null to use the default.
public string StorageBaseDirectory { get; set; }
Property Value
- string
The file path of the storage base directory.
StorageImageFormat
Gets or sets the storage image format. The default storage format is JPEG.
public CameraImageFormat StorageImageFormat { get; set; }
Property Value
StorageImageQuality
Gets or sets JPEG quality. Must be a value between 0 and 100, the bigger the better the quality and the larger the resulting image size. Used only when StorageImageFormat is set to Jpg. The default storage quality is 80.
public int StorageImageQuality { get; set; }
Property Value
UseCameraXRtuUi
If true, CameraX will be used under the hood (Android only). Default is true.
public bool? UseCameraXRtuUi { get; set; }
Property Value
- bool?
Methods
ToResultOptions()
public ResultOptions ToResultOptions()