FlashControl FlashControl FlashControl FlashControl FlashControl Class

Definition

Provides functionality for controlling the flash settings on a capture device.

public : sealed class FlashControl : IFlashControl, IFlashControl2
struct winrt::Windows::Media::Devices::FlashControl : IFlashControl, IFlashControl2
public sealed class FlashControl : IFlashControl, IFlashControl2
Public NotInheritable Class FlashControl Implements IFlashControl, IFlashControl2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The FlashControl enable apps to manage the flash on a device. This can be used in a photo app to handle low-light conditions or for RedEyeReduction.

You can find out if a device supports this control by checking FlashControl.Supported.

You can access the FlashControl for the capture device through MediaCapture.VideoDeviceController.

For how-to guidance for using the FlashControl, see Manual camera controls for photo and video capture.

Properties

AssistantLightEnabled AssistantLightEnabled AssistantLightEnabled AssistantLightEnabled AssistantLightEnabled

Gets or sets a value indicating whether focus assist light is enabled on the capture device.

AssistantLightSupported AssistantLightSupported AssistantLightSupported AssistantLightSupported AssistantLightSupported

Gets a value indicating whether focus assist light is supported by the capture device.

Auto Auto Auto Auto Auto

Gets or sets a value that specifies if flash is automatically set.

Enabled Enabled Enabled Enabled Enabled

Gets a value that specifies if the flash on the capture device is enabled or disabled.

PowerPercent PowerPercent PowerPercent PowerPercent PowerPercent

Gets or sets the intensity of the flash.

PowerSupported PowerSupported PowerSupported PowerSupported PowerSupported

Gets a value that specifics if the device allows the torch LED power settings to be changed.

RedEyeReduction RedEyeReduction RedEyeReduction RedEyeReduction RedEyeReduction

Gets a value that specifies if the red eye reduction is enabled or disabled.

RedEyeReductionSupported RedEyeReductionSupported RedEyeReductionSupported RedEyeReductionSupported RedEyeReductionSupported

Gets a value that specifies if the capture device supports red eye reduction.

Supported Supported Supported Supported Supported

Gets a value that specifies if the capture device supports the flash control.

See Also