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: OTVLicenseRequestType) -> OTVSSMLicenseResponse

    Parameters

    keySystem

    String corresponding to the desired key system (Fairplay for iOS)

    payload

    token for license retrieval

    licenseType

    “license-request” (inital) or “license-renew” (subsequent periodic renewal)

    Return Value

    OTVSSMLicenseResponse containing the license data and the heartbeat period.

  • Calls the application supplied heartbeat function

    Declaration

    Swift

    func heartbeat()