AVCaptureDevice.VideoHdrEnabled 속성

정의

디바이스가 현재 HDR 비디오를 스트리밍하고 있는지 여부를 나타냅니다.

[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

속성 값

특성

설명

이 속성을 설정하려면 P:AVFoundation.AVCaptureDevice.ActiveFormat의 IsVideoHdrSupported가 필요합니다 true. 그렇지 않으면 예외가 발생합니다.

속성을 설정하면 ActiveFormat 이 가 로 false변경됩니다.

이 속성은 처음 로 설정한 경우에만 설정할 AutomaticallyAdjustsVideoHdrEnabledfalse수 있습니다.

constrat에서 를 설정 SessionPreset 하면 세션 사전 설정이 HDR 비디오와 일치하는 경우 이 속성 true 이 로 설정됩니다.

적용 대상