<!--
{
  "availability" : [
    "iOS: 11.2.0 - 26.0.0",
    "iPadOS: 11.2.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "tvOS: 11.2.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayer/HDRMode/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So15AVPlayerHDRModeV8rawValueABSi_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates an HDR mode with a string value.

```
init(rawValue: Int)
```

## Parameters

`rawValue`

A raw string value for the HDR mode.

---

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)