ExposureControl ExposureControl ExposureControl ExposureControl ExposureControl Class

Definition

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

public : sealed class ExposureControl : IExposureControl
struct winrt::Windows::Media::Devices::ExposureControl : IExposureControl
public sealed class ExposureControl : IExposureControl
Public NotInheritable Class ExposureControl Implements IExposureControl
// 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 ExposureControl gives apps additional control over the exposure settings on a device.

To set an exposure value, call SetValueAsync. To turn auto exposure on, call SetAutoAsync.

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

If the device does not support the ExposureControl, you can still use the Exposure property on the VideoCaptureDevice to set the exposure value.

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

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

Properties

Auto Auto Auto Auto Auto

Gets a value that indicates if auto exposure is enabled.

Max Max Max Max Max

Gets the maximum exposure time.

Min Min Min Min Min

Gets the minimum exposure time.

Step Step Step Step Step

Gets the smallest exposure time increment supported by the capture device.

Supported Supported Supported Supported Supported

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

Value Value Value Value Value

Gets the exposure time.

Methods

SetAutoAsync(Boolean) SetAutoAsync(Boolean) SetAutoAsync(Boolean) SetAutoAsync(Boolean) SetAutoAsync(Boolean)

Asynchronously enables or disable auto exposure.

SetValueAsync(TimeSpan) SetValueAsync(TimeSpan) SetValueAsync(TimeSpan) SetValueAsync(TimeSpan) SetValueAsync(TimeSpan)

Asynchronously sets the exposure time.

See Also