DBRLicenseVerificationListener
DBRLicenseVerificationListener
is the protocol to handle license verification callback when using initLicense
.
- Objective-C
- Swift
@protocol DBRLicenseVerificationListener <NSObject>
protocol DBRLicenseVerificationListener : NSObjectProtocol
Method | Type | Description |
---|---|---|
DBRLicenseVerificationCallback |
required | The method for users to add code for license verification. |
DBRLicenseVerificationCallback
The method for users to add code for license verification.
- Objective-C
- Swift
- (void)DBRLicenseVerificationCallback:(bool)isSuccess error:(NSError * _Nullable)error;
func dbrLicenseVerificationCallback(_ isSuccess: Bool, error: Error?)
Parameters
[in, out] isSuccess
: Whether the license verification was successful.
[in, out] error
: The error message from the license server.