Instance Property

delegate

The delegate for the receiver.

Declaration

@property(readonly, weak) id<AVContentKeySessionDelegate> delegate;

Discussion

Set the receiver's delegate using the setDelegate:queue: method. The delegate protocol is described in AVContentKeySessionDelegate.

See Also

Initializing the Content Key Request Process

- setDelegate:queue:

Sets the receiver's delegate and indicates the dispatch queues used.

AVContentKeySessionDelegate

The protocol you implement to handle content key requests.

delegateQueue

The dispatch queue that invokes delegate callbacks.

- addContentKeyRecipient:

Tells the receiver that the specified recipient should have access to the decryption keys loaded with the session.

contentKeyRecipients

An array of content key recipients.

AVContentKeyRecipient

A protocol for requiring decryption keys for media data.

- processContentKeyRequestWithIdentifier:initializationData:options:

Tells the receiver to start loading the content decryption key with the specified identifier and initialization data.