DCEDLSLicenseVerificationDelegate
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. |
DCEDLSLicenseVerificationCallback
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
- (void)DCEDLSLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error { //TODO add your code for license verification }
func dcedlsLicenseVerificationCallback(_ isSuccess: bool, error: Error?){ //TODO add your code for license verification }