Language

AVContentKeySession_AVContentKeyRecipients.Add Method

Definition

Associates the specified recipient with this content key session so that the session can supply the recipient with content keys.

[Foundation.Export("addContentKeyRecipient:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void Add(this AVFoundation.AVContentKeySession This, AVFoundation.IAVContentKeyRecipient recipient);
[<Foundation.Export("addContentKeyRecipient:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Add : AVFoundation.AVContentKeySession * AVFoundation.IAVContentKeyRecipient -> unit

Parameters

This
AVContentKeySession

The instance on which this method operates.

recipient
IAVContentKeyRecipient

The recipient to associate with this content key session, for example, an AVUrlAsset.

Attributes

Remarks

This method maps to the native addContentKeyRecipient: selector. Add a recipient before starting playback or processing that requires the decryption keys managed by this session.

Applies to