Thanks for downloading Dynamsoft Label Recognizer Package!
Your download will start shortly. If your download does not begin, click here to retry.
DLRLicenseVerificationDelegate
A delegate to handle callback when Dynamsoft License Server returns.
@protocol DLRLicenseVerificationDelegate <NSObject>
Methods
Method | Description |
---|---|
DLRLicenseVerificationCallback |
The callback of Dynamsoft License Server. |
DLRLicenseVerificationCallback
Initializes the label Recognizer license.
- (void)DLRLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error;
Parameters
[in] isSuccess
: Whether the license verification was successful.[in,out] error
: The error message from dynamsoft license server.
Code Snippet
- Objective-C
- Swift
- ```objc [DynamsoftLabelRecognizer initLicense:@”t0260NwAAAHV*******” verificationDelegate:self];
- (void)DLRLicenseVerificationCallback:(bool)isSuccess error:(NSError * )error
{
//TODO: add your code for license verification
}
```
- ```swift DynamsoftLabelRecognizer.initLicense(license:”t0260NwAAAHV*******”, verificationDelegate: self)
func DLRLicenseVerificationCallback(_ isSuccess: Bool, error: Error?) { //TODO: add your code for license verification } ```