A bitfield type that specifies an HDR mode.


struct HDRMode


These modes define the available HDR modes. Query availableHDRModes to find the HDR modes available for a device.


HDR Types

static var hlg: AVPlayer.HDRMode

The Hybrid Log-Gamma HDR mode is available.

static var hdr10: AVPlayer.HDRMode

The HDR10 HDR mode is available.

static var dolbyVision: AVPlayer.HDRMode

The Dolby Vision HDR mode is available.


Conforms To

See Also

Determining HDR Playback

class var availableHDRModes: AVPlayer.HDRMode

The HDR modes that are available for playback.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software