Bearbeiten

Freigeben über


AVContentKeyResponse.Create Method

Definition

Overloads

Create(NSData)

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

Create(NSData, NSData)

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

Create(NSData)

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

[Foundation.Export("contentKeyResponseWithFairPlayStreamingKeyResponseData:")]
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

Attributes

Applies to

Create(NSData, NSData)

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

[Foundation.Export("contentKeyResponseWithClearKeyData:initializationVector:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVContentKeyResponse Create (Foundation.NSData keyData, Foundation.NSData initializationVector);
static member Create : Foundation.NSData * Foundation.NSData -> AVFoundation.AVContentKeyResponse

Parameters

keyData
NSData

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

initializationVector
NSData

The decryption initialization vector. null null when the media contains the vector.

This parameter can be null.

Returns

Attributes

Applies to