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
decryptionKeysThe decryption keys to use for the ClearKey config.
Return Value
A ClearKey config which contains the given decryption keys for content decryption.
BMPClearKeyConfig Class Reference