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
Error
in 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
Error
in 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 : Int
extension KeySystemId: Codable
-
A request, either for a
See moreCertificateRequest
or aLicenseRequest
.Declaration
Swift
@objc(THEOplayerRequest) public class Request : NSObject, Codable
-
The response, either of a
See moreLicenseResponse
or for aCertificateResponse
request.Declaration
Swift
@objc(THEOplayerResponse) public class Response : NSObject, Codable