OTVCustomerSSMCallback

@protocol OTVCustomerSSMCallback <NSObject>

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. \param keySystem String corresponding to the desired key system (Fairplay for iOS)

    \param payload token for license retrieval

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

    returns: OTVSSMLicenseResponse containing the license data and the heartbeat period.

    Declaration

    Objective-C

    - (OTVSSMLicenseResponse *_Nonnull)
        licenseWithKeySystem:(NSString *_Nonnull)keySystem
                     payload:(NSData *_Nonnull)payload
                 licenseType:(enum OTVLicenseRequestType)licenseType;
  • Calls the application supplied heartbeat function

    Declaration

    Objective-C

    - (void)heartbeat;