共用方式為


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)

適用於