AVCaptureDevice.IsFlashModeSupported(AVCaptureFlashMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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