AVCaptureDevice.AutomaticallyAdjustsVideoHdrEnabled 属性

定义

确定是否可以为视频流打开和关闭 HDR,如果已设置,则可以启用 VideoHdrEnabled

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

属性值

此属性的默认值为 true

属性

注解

设置此属性需要调用方首先调用 LockForConfiguration(NSError)

适用于