Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.
DLRLicenseVerificationDelegate
You are viewing a history document page of Dynamsoft Label Recognizer iOS v2.2.20.
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 } ```