External Content Protection integration API
-
This ContentProtectionIntegration defines some methods to alter license and certificate requests and responses.
See moreDeclaration
Swift
@objc(THEOplayerContentProtectionIntegration) 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(THEOplayerCertificateRequestCallback) public protocol CertificateRequestCallback : CertificateResponseCallback -
A completion handler that should be called with the actual certificate, or an
Errorin case of failure.Declaration
Swift
@objc(THEOplayerCertificateResponseCallback) public protocol CertificateResponseCallback -
A completion handler that should be called with the modified
LicenseRequest.Declaration
Swift
@objc(THEOplayerLicenseRequestCallback) public protocol LicenseRequestCallback : LicenseResponseCallback -
A completion handler that should be called with the actual license, or an
Errorin case of failure.Declaration
Swift
@objc(THEOplayerLicenseResponseCallback) public protocol LicenseResponseCallback -
A certificate request.
Declaration
Swift
@objc(THEOplayerCertificateRequest) public class CertificateRequest : Request -
Name of the key system.
See moreDeclaration
Swift
@objc(THEOplayerKeySystemId) public enum KeySystemId : Intextension KeySystemId: Codable -
A request, either for a
See moreCertificateRequestor aLicenseRequest.Declaration
Swift
@objc(THEOplayerRequest) public class Request : NSObject, Codable -
The response, either of a
See moreLicenseResponseor for aCertificateResponserequest.Declaration
Swift
@objc(THEOplayerResponse) public class Response : NSObject, Codable
External Content Protection integration API Reference