<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVContentKeyRequest/canBeFulfilledWithAdvisoryKey",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVContentKeyRequest(py)canBeFulfilledWithAdvisoryKey"
  },
  "title" : "canBeFulfilledWithAdvisoryKey"
}
-->

# canBeFulfilledWithAdvisoryKey

Indicates whether this key request was initiated for an advisory key.

```
var canBeFulfilledWithAdvisoryKey: Bool { get }
```

## Discussion

This property is set to true when:
1. Advisory key loading is enabled on the parent AVContentKeySession
2. The key was previously loaded as an advisory key and cached by FairPlay
3. A subsequent request for the same key is made

When `canBeFulfilledWithAdvisoryKey` is true and `makeStreamingContentKeyRequestData` returns nil
for the key request data, this indicates FairPlay has already cached the key. No request to the
key server for a key response is necessary, and the application should simply return from the completion handler.

This property should be checked in the completion handler of
`makeStreamingContentKeyRequestData(forApp:contentIdentifier:options:completionHandler:)`
whenever the key request data is nil to distinguish advisory keys from actual errors.

---

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)