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

    Parameters

    keySystem

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

    payload

    token for license retrieval

    licenseType

    request (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()