DBRLicenseVerificationListener
DBRLicenseVerificationListener
is the interface to handle callback when using initLicense
.
interface com.dynamsoft.dbr.DBRDLSLicenseVerificationListener
Method | Description |
---|---|
DBRLicenseVerificationCallback |
The callback of license server. |
DBRLicenseVerificationCallback
void DBRLicenseVerificationCallback(boolean isSuccess, Exception error);
Parameters
isSuccess
: Whether the license verification was successful.
error
: The error message from license server.
Code Snippet
DBRLicenseVerificationListener dbrLicenseListener = new DBRLicenseVerificationListener() {
@Override
public void DBRLicenseVerificationCallback(boolean isSuccess, Exception error) {
// Add your code
}
};