Edit

Share via


AVCaptureDevice.IsTorchModeSupported(AVCaptureTorchMode) Method

Definition

Determines whether the specific torch mode is supported by the device.

[Foundation.Export("isTorchModeSupported:")]
public virtual bool IsTorchModeSupported (AVFoundation.AVCaptureTorchMode torchMode);
abstract member IsTorchModeSupported : AVFoundation.AVCaptureTorchMode -> bool
override this.IsTorchModeSupported : AVFoundation.AVCaptureTorchMode -> bool

Parameters

torchMode
AVCaptureTorchMode

The mode to probe for.

Returns

True if the specific torch mode is supported.

Attributes

Remarks

Torch mode is a mode in which the flash light can be used continuously in low-intensity mode (typically to illuminate video captures).

Applies to