availableHDRModes
The HDR modes that are available for playback.
Declaration
nonisolated 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 doesn’t indicate whether a video contains HDR content, HDR video is currently playing, or if video is playing on an HDR display.