Edit

Share via


AVCaptureDevice.FlashMode Property

Definition

The current 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

Property Value

Attributes

Remarks

Use this property to control whether the flash should be always on, always off, or turned on by the hardware if the heuristics of the device determine that a flash would improve the image.

Applies to