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.