共用方式為


AVCaptureDevice.FlashMode 屬性

定義

目前的 AVCaptureFlashMode

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AVCapturePhotoSettings.FlashMode' instead.")]
public virtual AVFoundation.AVCaptureFlashMode FlashMode { [Foundation.Export("flashMode")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AVCapturePhotoSettings.FlashMode' instead.")] get; [Foundation.Export("setFlashMode:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AVCapturePhotoSettings.FlashMode' instead.")] set; }
member this.FlashMode : AVFoundation.AVCaptureFlashMode with get, set

屬性值

屬性

備註

如果裝置的啟發學習法判斷快閃會改善影像,請使用這個屬性來控制快閃是否應該一律開啟、永遠關閉或由硬體開啟。

適用於