<!--
{
  "availability" : [
    "iOS: 14.6.0 -",
    "iPadOS: 14.6.0 -",
    "macCatalyst: 14.6.0 -",
    "macOS: 11.4.0 -",
    "tvOS: 14.6.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVError-swift.struct/contentKeyRequestCancelled",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:SC7AVErrorLeV26contentKeyRequestCancelledSoAAVvpZ"
  },
  "title" : "contentKeyRequestCancelled"
}
-->

# contentKeyRequestCancelled

The app canceled a request to retrieve a content key.

```
static var contentKeyRequestCancelled: AVError.Code { get }
```

---

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)