ClearKeyConfig

@objcMembers
@objc(BMPClearKeyConfig)
public final class ClearKeyConfig : DrmConfig

Represents a ClearKey config.

  • An array of objects representing the decryption keys.

    Declaration

    Swift

    public var decryptionKeys: [DecryptionKey]
  • Creates a new ClearKeyConfig based on the given decryption keys.

    Declaration

    Swift

    public init(decryptionKeys: [DecryptionKey])

    Return Value

    A ClearKey config which contains the given decryption keys for content decryption.