ScanbotSdkInitializerCommonApi

Might define some API that is 100% identical between Bundle and Barcode SDKs.

Inheritors

Functions

Link copied to clipboard
abstract fun initialize(application: Application): SdkLicenseInfo

Initializes Scanbot SDK library. Can be called only once.

Link copied to clipboard
abstract fun logger(logger: Logger): T

Adjust this parameter to specify which Logger should be used. To set a custom logger withLogging must be set to true.

Link copied to clipboard
abstract fun setPerformanceHintApiEnabled(enabled: Boolean): T

Enable or disable CPU acceleration.

Link copied to clipboard
abstract fun withLogging(useLog: Boolean, enableNativeLogging: Boolean = false): T

Enables or disables logs in Scanbot SDK.