OTVCustomerSSMDelegate
@interface OTVCustomerSSMDelegate : NSObject <OTVLicenseDelegate>
The OTVCustomerSSMDelegate class provides default implemetation to conform to the OTVLicenseDelegate
protocol.
When a license is requested, it will use the license callback from the OTVCustomerSSMCallback
conforming delegate, expecting
a response OTVSSMLicenseResponse
containing the license data and a heartbeat period in seconds.
On receipt of a non-zero positive heartbeat period the first license request will start the heartbeat, starting at 0+heartbeat seconds.
It is the respoisibility of the calling application to stop the heartbeat when required by calling the ‘reset’ function.
-
Returns the certificate that integrator uses in the server side.
Declaration
Objective-C
- (NSData *_Nullable)certificate;
-
Returns the scheme that the integrator uses in the
EXT-X-KEY
URI.Declaration
Objective-C
- (NSString *_Nullable)scheme;
-
Returns the content identifier that the integrator uses in the server side.
Declaration
Objective-C
- (NSData *_Nullable)contentIdentifierWithUrl:(NSURL *_Nonnull)url;
-
ckcMessage is part of the
OTVLicenseDelegate
protocol Here we use it to call the license callback supplied by the calling application and, if sucessful, to also start the heartbeat, calling the supplied heartbeat callback \param spc payload passed to the external license request callbackDeclaration
Objective-C
- (NSData *_Nullable)ckcMessageWithSpc:(NSData *_Nonnull)spc;