setLicenseBuffer

fun setLicenseBuffer(licenseBuffer: ByteArray, applicationContext: Context)

Set license buffer and unlock the SDK.

Parameters

licenseBuffer

Byte array containing the license.

applicationContext

Application context.

Throws

if license is not valid


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.

Parameters

licenseBuffer

Byte array containing the license.

licensee

Licensee to which license is given to.

applicationContext

Application context.

Throws

if license is not valid