KeySystemConfigurationCollection

@objc(THEOplayerKeySystemConfigurationCollection)
public final class KeySystemConfigurationCollection : NSObject
extension KeySystemConfigurationCollection: Codable

A set of configurations for different key systems.

  • The key system configuration for FairPlay.

    Declaration

    Swift

    @objc
    public let fairplay: KeySystemConfiguration?
  • The key system configuration for widevine.

    Declaration

    Swift

    @objc
    public let widevine: KeySystemConfiguration?
  • Create a set of configurations for different key systems.

    Declaration

    Swift

    @objc
    public init(fairplay: KeySystemConfiguration? = nil, widevine: KeySystemConfiguration? = nil, commonHeaders: [String : String] = [:])

    Parameters

    fairplay

    The key system configuration for FairPlay.

    widevine

    The key system configuration for widevine.

    commonHeaders

    A set of headers that should be used for all key systems.

  • Declaration

    Swift

    public convenience init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws