AVCaptureDevice.IsTorchModeSupported(AVCaptureTorchMode) 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 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).