Share via


AVCaptureDevice.VideoHdrEnabled Propiedad

Definición

Indica si el dispositivo está transmitiendo vídeo HDR actualmente.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool VideoHdrEnabled { [Foundation.Export("isVideoHDREnabled")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setVideoHDREnabled:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.VideoHdrEnabled : bool with get, set

Valor de propiedad

Atributos

Comentarios

Establecer esta propiedad requiere que P:AVFoundation.AVCaptureDevice.ActiveFormat isVideoHdrSupported sea true; de lo contrario, obtendrá una excepción.

Al establecer la ActiveFormat propiedad, se cambiará a false.

Esta propiedad solo se puede establecer si primero se establece en AutomaticallyAdjustsVideoHdrEnabledfalse.

En constrat, al establecer esta SessionPreset propiedad true en si el valor preestablecido de sesión es una buena coincidencia para el vídeo HDR.

Se aplica a