AVCaptureDevice.IsFlashModeSupported(AVCaptureFlashMode) Method

Definition

Determines if a specific flash mode is supported by the hardware.

[Foundation.Export("isFlashModeSupported:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'AVCapturePhotoOutput.SupportedFlashModes' instead.")]
public virtual bool IsFlashModeSupported (AVFoundation.AVCaptureFlashMode flashMode);
abstract member IsFlashModeSupported : AVFoundation.AVCaptureFlashMode -> bool
override this.IsFlashModeSupported : AVFoundation.AVCaptureFlashMode -> bool

Parameters

flashMode
AVCaptureFlashMode

The flash mode to probe.

Returns

true if the specific flash mode is supported.

Attributes

Applies to