Class ScanbotSDKInitializer
- Namespace
- IO.Scanbot.Sdk
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ScanbotSDKInitializer", DoNotGenerateAcw = true)]
public sealed class ScanbotSDKInitializer : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
ScanbotSDKInitializer
- Implements
-
- Inherited Members
-
Constructors
ScanbotSDKInitializer()
[Register(".ctor", "()V", "")]
public ScanbotSDKInitializer()
Properties
IsInitialized
public static bool IsInitialized { get; }
Property Value
- bool
Methods
AllowGpuAcceleration(bool)
[Register("allowGpuAcceleration", "(Z)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer AllowGpuAcceleration(bool enable)
Parameters
enable
bool
Returns
- ScanbotSDKInitializer
AllowXnnpackAcceleration(bool)
[Register("allowXnnpackAcceleration", "(Z)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer AllowXnnpackAcceleration(bool enable)
Parameters
enable
bool
Returns
- ScanbotSDKInitializer
ContourDetectorType(Type)
[Register("contourDetectorType", "(Lio/scanbot/sdk/core/contourdetector/ContourDetector$Type;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer ContourDetectorType(ContourDetector.Type type)
Parameters
type
ContourDetector.Type
Returns
- ScanbotSDKInitializer
[Register("documentDraftExtractor", "(Lio/scanbot/sdk/docprocessing/draft/DocumentDraftExtractor;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer DocumentDraftExtractor(IDocumentDraftExtractor extractor)
Parameters
extractor
IDocumentDraftExtractor
Returns
- ScanbotSDKInitializer
Initialize(Application)
[Register("initialize", "(Landroid/app/Application;)Lio/scanbot/sap/SdkLicenseInfo;", "")]
public SdkLicenseInfo Initialize(Application application)
Parameters
application
Application
Returns
- SdkLicenseInfo
InvokeLogger(ILogger)
[Register("logger", "(Lio/scanbot/sdk/util/log/Logger;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer InvokeLogger(ILogger logger)
Parameters
logger
ILogger
Returns
- ScanbotSDKInitializer
LicenceErrorHandler(IScanbotSDKLicenseErrorHandler)
[Register("licenceErrorHandler", "(Lio/scanbot/sap/IScanbotSDKLicenseErrorHandler;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer LicenceErrorHandler(IScanbotSDKLicenseErrorHandler licenseErrorHandler)
Parameters
licenseErrorHandler
IScanbotSDKLicenseErrorHandler
Returns
- ScanbotSDKInitializer
License(Application, string)
[Register("license", "(Landroid/app/Application;Ljava/lang/String;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer License(Application application, string license)
Parameters
application
Application
license
string
Returns
- ScanbotSDKInitializer
OcrBlobsPath(Application, string)
[Register("ocrBlobsPath", "(Landroid/app/Application;Ljava/lang/String;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer OcrBlobsPath(Application application, string ocrBlobsPath)
Parameters
application
Application
ocrBlobsPath
string
Returns
- ScanbotSDKInitializer
[Register("pdfImagesExtractorType", "(Lio/scanbot/sdk/pdf/PdfImagesExtractor$Type;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer PdfImagesExtractorType(IPdfImagesExtractor.Type type)
Parameters
type
IPdfImagesExtractor.Type
Returns
- ScanbotSDKInitializer
PrecompileGpuMlModels(IFunction0)
[Register("precompileGpuMlModels", "(Lkotlin/jvm/functions/Function0;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer PrecompileGpuMlModels(IFunction0 precompilingCallback)
Parameters
precompilingCallback
IFunction0
Returns
- ScanbotSDKInitializer
PrepareOCRLanguagesBlobs(bool)
[Register("prepareOCRLanguagesBlobs", "(Z)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer PrepareOCRLanguagesBlobs(bool prepareOCRLanguagesBlobs)
Parameters
prepareOCRLanguagesBlobs
bool
Returns
- ScanbotSDKInitializer
SdkFilesDirectory(Application, File)
[Register("sdkFilesDirectory", "(Landroid/app/Application;Ljava/io/File;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer SdkFilesDirectory(Application application, File sdkFilesDirectory)
Parameters
application
Application
sdkFilesDirectory
File
Returns
- ScanbotSDKInitializer
UseCameraXRtuUi(bool)
[Register("useCameraXRtuUi", "(Z)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer UseCameraXRtuUi(bool enable)
Parameters
enable
bool
Returns
- ScanbotSDKInitializer
UseFileEncryption(bool, IFileIOProcessor)
[Register("useFileEncryption", "(ZLio/scanbot/sdk/persistence/fileio/FileIOProcessor;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer UseFileEncryption(bool enableFileEncryption, IFileIOProcessor fileIOProcessor)
Parameters
enableFileEncryption
bool
fileIOProcessor
IFileIOProcessor
Returns
- ScanbotSDKInitializer
UseOcrSettings(OcrSettings)
[Register("useOcrSettings", "(Lio/scanbot/sdk/ocr/intelligence/OcrSettings;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer UseOcrSettings(OcrSettings ocrSettings)
Parameters
ocrSettings
OcrSettings
Returns
- ScanbotSDKInitializer
UsePageStorageSettings(PageStorageSettings)
[Register("usePageStorageSettings", "(Lio/scanbot/sdk/persistence/PageStorageSettings;)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer UsePageStorageSettings(PageStorageSettings pageStorageSettings)
Parameters
pageStorageSettings
PageStorageSettings
Returns
- ScanbotSDKInitializer
WithLogging(bool, bool)
[Register("withLogging", "(ZZ)Lio/scanbot/sdk/ScanbotSDKInitializer;", "")]
public ScanbotSDKInitializer WithLogging(bool useLog, bool enableNativeLogging)
Parameters
useLog
bool
enableNativeLogging
bool
Returns
- ScanbotSDKInitializer