DSLicenseVerificationListener
The DSLicenseVerificationListener is a protocol that includes methods for monitoring the license verification status.
Definition
Assembly: DynamsoftLicense.framework
- Objective-C
- Swift
@protocol DSLicenseVerificationListener <NSObject>protocol LicenseVerificationListener : NSObjectProtocol
| Method | Description |
|---|---|
onLicenseVerified |
The method that is triggered when the license server returns the verification info. |
onLicenseVerified
The method that is triggered when the license server returns the verification info.
- Objective-C
- Swift
- (void)onLicenseVerified:(BOOL)isSuccess error:(NSError * _Nullable)error;func onLicenseVerified(_ isSuccess: Bool, error: Error?)
Parameters
isSuccess: A Boolean value indicating whether the license is verified successfully.
error: An NSError pointer. It carries the error code and message that describe the reason why your license activation failed.