Compartir a través de


AVContentKeyResponse.Create Method

Definition

Overloads

Name Description
Create(NSData)

Creates and returns a new response object from the provided key data.

Create(NSData, AVContentKeyResponseDataType)
Create(NSData, NSData)

Create(NSData)

Creates and returns a new response object from the provided key data.

public static AVFoundation.AVContentKeyResponse Create(Foundation.NSData fairPlayStreamingKeyResponseData);
static member Create : Foundation.NSData -> AVFoundation.AVContentKeyResponse

Parameters

fairPlayStreamingKeyResponseData
NSData

The Fair Play key data from which to create a response.

Returns

Applies to

Create(NSData, AVContentKeyResponseDataType)

public static AVFoundation.AVContentKeyResponse Create(Foundation.NSData data, AVFoundation.AVContentKeyResponseDataType dataType = AVFoundation.AVContentKeyResponseDataType.FairPlayStreamingKeyResponseData);
static member Create : Foundation.NSData * AVFoundation.AVContentKeyResponseDataType -> AVFoundation.AVContentKeyResponse

Parameters

data
NSData

Returns

Applies to

Create(NSData, NSData)

[Foundation.Export("contentKeyResponseWithClearKeyData:initializationVector:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AVFoundation.AVContentKeyResponse Create(Foundation.NSData keyData, Foundation.NSData? initializationVector);
[<Foundation.Export("contentKeyResponseWithClearKeyData:initializationVector:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSData * Foundation.NSData -> AVFoundation.AVContentKeyResponse

Parameters

keyData
NSData
initializationVector
NSData

Returns

Attributes

Applies to