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

# keySystem

The type of key system used to retrieve keys.

```
var keySystem: AVContentKeySystem { get }
```

## Discussion

Valid values for keySystem are [`fairPlayStreaming`](/documentation/AVFoundation/AVContentKeySystem/fairPlayStreaming) and [`clearKey`](/documentation/AVFoundation/AVContentKeySystem/clearKey).

---

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)