Skip to content

License

The capture library requires a valid license to function correctly.

To obtain a license, please contact our sales or support team.

Important: Set the license before using any other IAD classes to avoid unexpected behavior.

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

val license = "put-your-license-content-here"

try {
    License.setLicense(license, LicenseType.DocumentDetector)
} catch (e: LicenseException) {
    // Handle license error (e.g., invalid or expired license)
}