setLicenseFile

fun setLicenseFile(licenseFilePath: String, applicationContext: Context)

Set the license file and unlock the SDK.

Parameters

licenseFilePath

Path inside assets where license file should be loaded from.

applicationContext

Application context required to access asset manager.

Throws

if license is not valid


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.

Parameters

licenseFilePath

Path inside assets where license file should be loaded from.

applicationContext

Application context required to access asset manager.

Throws

if license is not valid