DSLicenseVerificationListener
The DSLicenseVerificationListener
is a protocol that includes methods for monitoring the license verification status.
Definition
Assembly: DynamsoftLicense.xcframework
- Objective-C
- Swift
@protocol DSLicenseVerificationListener <NSObject>
protocol LicenseVerificationListener : NSObjectProtocol
Method | Description |
---|---|
onLicenseVerified |
The callback triggered when the license verification result is available. |
onLicenseVerified
The callback triggered when the license verification result is available.
- 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. If an error occurs, it will represent the error information.