layout | title | description | keywords | needAutoGenerateSidebar | noTitleIndex | needGenerateH3Content | breadcrumbText | permalink |
---|---|---|---|---|---|---|---|---|
default-layout |
iOS Protocol DCEDLSLicenseVerificationDelegate - Dynamsoft Camera Enhancer |
This is the documentation - iOS Protocol DCEDLSLicenseVerificationDelegate page of Dynamsoft Camera Enhancer. |
Camera Enhancer, iOS Protocol DCEDLSLicenseVerificationDelegate |
true |
true |
false |
iOS Protocol DCEDLSLicenseVerificationDelegate |
/programming/ios/auxiliary-api/protocol-licenselistener-v1.0.3.html |
Protocol for a delegate to handle callback when license verification message returned.
@protocol DCEDLSLicenseVerificationDelegate <NSObject>
Method | Type | Description |
---|---|---|
DCEDLSLicenseVerificationCallback |
required | The callback of license server. |
The callback of license server. Add the code in the callback function to react when the license server connection is successful or failed.
- (void)DCEDLSLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error;
Parameters
[in,out] isSuccess
: Whether the license verification was successful.
[in,out] error
: The error message from license server.
Code Snippet
>- Objective-C >- Swift > >1. ```objc - (void)DCEDLSLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error { //TODO add your code for license verification } ``` 2. ```swift func dcedlsLicenseVerificationCallback(_ isSuccess: bool, error: Error?){ //TODO add your code for license verification } ```