FairPlayDRMConfiguration
@objc(THEOplayerFairPlayDRMConfiguration)
public class FairPlayDRMConfiguration : NSObject, FairPlayDRMConfigurationProtocol, FairPlayDRMConfigurationProtocol_Objc
The FairPlayDRMConfiguration object provides a set of DRM parameters for FairPlay DRM streaming.
-
The FairPlay
KeySystemConfiguration
.Declaration
Swift
@objc public var fairplay: KeySystemConfiguration
-
The identifier of the DRM integration.
Declaration
Swift
public var integration: DRMIntegration?
-
The identifier of the DRM integration.
Declaration
Swift
@objc(integration) public var integration_Objc: DRMIntegration { get set }
-
The FairPlay headers.
Declaration
Swift
@objc public var headers: [[String : String]]?
-
The FairPlay integration parameters.
Declaration
Swift
@objc public var integrationParameters: Dictionary<String, Any>?
-
The custom integration identifier.
Declaration
Swift
@objc public var customIntegrationId: String?
-
Constructs a FairPlay DRMConfiguration.
Declaration
Swift
public init(licenseAcquisitionURL: String, certificateURL: String, headers: [[String : String]]? = nil, licenseType: LicenseType? = nil, integrationParameters: Dictionary<String, Any>? = nil)
Parameters
licenseAcquisitionURL
The license aquisition URL.
certificateURL
The certificate URL.
headers
The FairPlay headers, defaults to nil.
licenseType
The type of FairPlay license, defaults to nil.
integrationParameters
The FairPlay integration parameters, defaults to nil.
-
init(customIntegrationId:
licenseAcquisitionURL: certificateURL: headers: licenseType: integrationParameters: ) Constructs a FairPlay DRMConfiguration.
Declaration
Swift
public init(customIntegrationId: String, licenseAcquisitionURL: String, certificateURL: String, headers: [[String : String]]? = nil, licenseType: LicenseType? = nil, integrationParameters: Dictionary<String, Any>? = nil)
Parameters
customIntegrationId
The custom integration identifier.
licenseAcquisitionURL
The license aquisition URL.
certificateURL
The certificate URL.
headers
The FairPlay headers, defaults to nil.
licenseType
The type of FairPlay license, defaults to nil.
integrationParameters
The FairPlay integration parameters, defaults to nil.