BMPClearKeyConfig

Objective-C


@interface BMPClearKeyConfig : BMPDRMConfig

Swift

class ClearKeyConfig : DRMConfig

Represents a ClearKey config.

  • An array of objects representing the decryption keys.

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSArray<BMPDecryptionKey *> *decryptionKeys;

    Swift

    var decryptionKeys: [DecryptionKey] { get set }
  • Creates a new BMPClearKeyConfig based on the given decryption keys.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDecryptionKeys:
        (nonnull NSArray<BMPDecryptionKey *> *)decryptionKeys;

    Swift

    init(decryptionKeys: [DecryptionKey])

    Parameters

    decryptionKeys

    The decryption keys to use for the ClearKey config.

    Return Value

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