Skip to content

License

IAD library requires a license to work correctly.

Please contact our managers to obtain a license.

Setting license should be done before calling other IAD classes to prevent unexpected behaviour.

import net.idrnd.capture.License
import net.idrnd.capture.LicenseException
import net.idrnd.capture.LicenseType

val license = "put-your-license-content-here"
try {
    License.setLicense(license, LicenseType.FaceDetector)
} catch (e: LicenseException) {
    // The license is invalid or has expired
}