<!--
{
  "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/canProvidePersistableContentKey",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVContentKeyRequest(py)canProvidePersistableContentKey"
  },
  "title" : "canProvidePersistableContentKey"
}
-->

# canProvidePersistableContentKey

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

```
var canProvidePersistableContentKey: Bool { get }
```

## Discussion

The value of this property is automatically set to `YES` when the receiver is provided to the content key session’s delegate via the [`contentKeySession(_:didProvide:)`](/documentation/AVFoundation/AVContentKeySessionDelegate/contentKeySession(_:didProvide:)-2wdgz) method. When this property is set to `YES`, the [`persistableContentKey(fromKeyVendorResponse:options:)`](/documentation/AVFoundation/AVPersistableContentKeyRequest/persistableContentKey(fromKeyVendorResponse:options:)) method can be used to create a persistable content key from the response.

When this property is set to `NO` and there is a request for a persistable content key, send the [`respondByRequestingPersistableContentKeyRequest()`](/documentation/AVFoundation/AVContentKeyRequest/respondByRequestingPersistableContentKeyRequest()) method.

---

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)