External Content Protection integration API
-
This ContentProtectionIntegration defines some methods to alter license and certificate requests and responses.
See moreDeclaration
Swift
@objc public protocol ContentProtectionIntegration -
Factory pattern to create
ContentProtectionIntegration.Declaration
Swift
public protocol ContentProtectionIntegrationFactory : AnyObject -
A completion handler that should be called with the modified
CertificateRequest.Declaration
Swift
@objc public protocol CertificateRequestCallback : CertificateResponseCallback -
A completion handler that should be called with the actual certificate, or an
Errorin case of failure.Declaration
Swift
@objc public protocol CertificateResponseCallback -
A completion handler that should be called with the modified
LicenseRequest.Declaration
Swift
@objc public protocol LicenseRequestCallback : LicenseResponseCallback -
A completion handler that should be called with the actual license, or an
Errorin case of failure.Declaration
Swift
@objc public protocol LicenseResponseCallback -
A certificate request.
Declaration
Swift
public class CertificateRequest : Request -
Name of the key system.
See moreDeclaration
Swift
public enum KeySystemId : Intextension KeySystemId: Codable -
Represents an HTTP request made by the player, such as a certificate request, license request, or discovery request.
See moreDeclaration
Swift
public class Request : NSObject, Codable -
Represents an HTTP response received by the player, such as a certificate response, license response, or discovery response.
See moreDeclaration
Swift
public class Response : NSObject, Codable
External Content Protection integration API Reference