KeyOSDRMConfiguration

@objc(THEOplayerKeyOSDRMConfiguration)
public class KeyOSDRMConfiguration : MultiplatformDRMConfiguration

The KeyOS DRMConfiguration object provides a set of DRM parameters for FairPlay DRM streaming with KeyOS integration.

  • The KeyOS custom data.

    Declaration

    Swift

    @objc
    public var customdata: String?
  • Constructs a KeyOS DRMConfiguration.

    Declaration

    Swift

    @objc
    public init(
        customdata: String?,
        keySystemConfigurations: KeySystemConfigurationCollection
    )

    Parameters

    customdata

    The KeyOs custom data.

    keySystemConfigurations

    The key system configurations (FairPlay, Widevide).

  • Constructs a KeyOS DRMConfiguration.

    Declaration

    Swift

    @available(*, deprecated, message: "This initializer will be removed in the next major release. Please use init(customdata:keySystemConfigurations:﹚ instead.")
    @objc
    public convenience init(licenseAcquisitionURL: String, certificateURL: String, customdata: String?, headers: [[String : String]]? = nil)

    Parameters

    licenseAcquisitionURL

    The license aquisition URL for FairPlay.

    certificateURL

    The certificate URL for FairPlay.

    customdata

    The KeyOs custom data.

    headers

    The KeyOs headers for FairPlay, defaults to nil.