AVCaptureDevice.AutomaticallyAdjustsVideoHdrEnabled 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷視訊串流是否可以開啟和關閉 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) 。