OTVCustomerSSMCallback
@objc
public protocol OTVCustomerSSMCallback : NSObjectProtocol
The OTVCustomerSSMCallback protocol imposes a requirement for the license and heartbeat functions. An instance using this protocol would then be used by OTVCustomerSSMDelegate to provide the necessary protocol functionality.
-
Returns the license continaining Content Key Context (CKC) message, and heartbeat period.
Declaration
Swift
func license(keySystem: String, payload: Data, licenseType: String) -> OTVSSMLicenseResponseParameters
keySystemString corresponding to the desired key system (Fairplay for iOS)
payloadtoken for license retrieval
licenseTyperequest (inital) or renew (subsequent)
Return Value
OTVSSMLicenseResponse containing the license data and the heartbeat period.
-
Calls the application supplied heartbeat function
Declaration
Swift
func heartbeat()
OTVCustomerSSMCallback Protocol Reference