<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.4 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVContentKeyRequest/processContentKeyResponse(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVContentKeyRequest(im)processContentKeyResponse:"
  },
  "title" : "processContentKeyResponse(_:)"
}
-->

# processContentKeyResponse(_:)

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

```
func processContentKeyResponse(_ keyResponse: AVContentKeyResponse)
```

## Parameters

`keyResponse`

An [`AVContentKeyResponse`](/documentation/AVFoundation/AVContentKeyResponse) object carrying a response to a content key request.

## Discussion

After receiving a content key request and calling [`makeStreamingContentKeyRequestData(forApp:contentIdentifier:options:completionHandler:)`](/documentation/AVFoundation/AVContentKeyRequest/makeStreamingContentKeyRequestData(forApp:contentIdentifier:options:completionHandler:)) on that request, you must obtain a response to the request in accordance with the protocol used by the entity that controls the use of the media data. Use this method to provide the content key response, to make protected content available for processing.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)