ScanbotSDK

Provider for Scanbot SDK features.

Typical use case is to create this object in Activity.onCreate or Service.onCreate, but it's allowed to create it during any other point of lifecycle before onDestroy.

Note that each instance stores reference to given context, so it should not be cached statically. All necessary caching is already done by ScanbotSDK itself - some methods might return same instance repeatedly.

Some insight - Scanbot uses Dependency Injection internally, but we do not want to expose it to users of the library to ensure that changes in DI implementation won't affect users of the library.

Constructors

Link copied to clipboard
constructor(activity: Activity)
constructor(service: Service)
constructor(application: Application)
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val licenseInfo: SdkLicenseInfo

Provides full info of the license current state. Returned value is consistent during lifetime of the process, i.e. if license is active at application start-up it will remain that way until app will be killed.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Provides BarcodeScanner.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provides Cleaner.

Link copied to clipboard
Link copied to clipboard

Provides functionality for OCR .

Link copied to clipboard
Link copied to clipboard

Provides functionality for PDF generation.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getSdkComponent(): SdkComponent?
Link copied to clipboard

Provides result repository for the given class