Class

AVContentKeyRequest

An object that encapsulates information about a content decryption key request issued from a content key session object.

Declaration

class AVContentKeyRequest : NSObject

Topics

Getting Content Key Request Data

let AVContentKeyRequestProtocolVersionsKey: String

A key that specifies the versions of the content protection protocol supported by the application.

Responding to the Content Key Request

func respondByRequestingPersistableContentKeyRequestAndReturnError()

Tells the receiver that the app requires a persistable content key request object for processing.

func processContentKeyResponse(AVContentKeyResponse)

Sends the specified content key response to the receiver for processing.

func processContentKeyResponseError(Error)

Tells the receiver that the app was unable to obtain a content key response.

func respondByRequestingPersistableContentKeyRequest()

Tells the receiver that the app requires a persistable content key request object for processing.

Deprecated

Getting Content Key Request Properties

var identifier: Any?

The identifier for the content key.

var canProvidePersistableContentKey: Bool

The content key request used to create a persistable content key or respond to a previous request with a persistable content key.

var error: Error?

The error description for a failed key request.

var initializationData: Data?

The data used to obtain a key response.

var renewsExpiringResponseData: Bool

A Boolean value that indicates whether the content key request renews previously provided response data.

var status: AVContentKeyRequest.Status

The current state of the content key request.

enum AVContentKeyRequest.Status

The status for a content key request.

Type Aliases

struct AVContentKeyRequest.RetryReason

The reason for asking the client to retry a content key request.

Instance Properties

Relationships

Inherits From

Conforms To

See Also

Content Key Decryption

class AVContentKeyResponse

An object that encapsulates information about a response to a content decryption key request.

class AVContentKeySession

An object used to create and track decryption keys for media data.

class AVPersistableContentKeyRequest

An object that encapsulates information about a persistable content decryption key request issued from a content key session.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software