Type Property

availableHDRModes

The HDR modes that are available for playback.

Declaration

class var availableHDRModes: AVPlayer.HDRMode { get }

Discussion

This property indicates all of the HDR modes that the device can play. A value of 0 indicates the device doesn’t support HDR. Each value indicates that an appropriate HDR display is available for the specified HDR mode. Additionally, the device must be capable of playing the specified HDR type.

This property does not indicate whether a video contains HDR content, HDR video is currently playing, or if video is playing on an HDR display.

See Also

Determining HDR Playback

struct AVPlayer.HDRMode

A bitfield type that specifies an HDR mode.

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