CaptureSDK

object CaptureSDK

Entry point for the SDK - used for setting the license key and SDK setup.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun setLicenseBuffer(licenseBuffer: ByteArray, applicationContext: Context)

Set license buffer and unlock the SDK.

fun setLicenseBuffer(licenseBuffer: ByteArray, licensee: String, applicationContext: Context)

Set license buffer and unlock the SDK. Also define licensee that will be used to validate the license. This method can be used to unlock the SDK in library mode, i.e. when Microblink SDK is being packaged inside 3rd party SDK. Unlocking Microblink SDK in library mode allows usage of single license key in multiple applications.

Link copied to clipboard
fun setLicenseFile(licenseFilePath: String, applicationContext: Context)

Set the license file and unlock the SDK.

fun setLicenseFile(licenseFilePath: String, licensee: String, applicationContext: Context)

Set the license file and unlock the SDK. Also define licensee that will be used to validate the license. This method can be used to unlock the SDK in library mode, i.e. when Microblink SDK is being packaged inside 3rd party SDK. Unlocking Microblink SDK in library mode allows usage of single license key in multiple applications.

Link copied to clipboard
fun setLicenseKey(base64LicenseKey: String, applicationContext: Context)

Set license key and unlock the SDK.

fun setLicenseKey(base64LicenseKey: String, licensee: String, applicationContext: Context)

Set license key and unlock the SDK. Also define licensee that will be used to validate the license. This method can be used to unlock the SDK in library mode, i.e. when Microblink SDK is being packaged inside 3rd party SDK. Unlocking Microblink SDK in library mode allows usage of single license key in multiple applications.