Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExposureControl class

Applies to Windows and Windows Phone

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

Syntax


var exposureControl = VideoDeviceController.xposureControl;

Attributes

[DualApiPartition()]
[MarshalingBehavior(Standard)]
[Threading(MTA)]
[Version(0x06030000)]

Members

The ExposureControl class has these types of members:

Methods

The ExposureControl class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
SetAutoAsync Asynchronously enables or disable auto exposure.
SetValueAsync Asynchronously sets the exposure time.

 

Properties

The ExposureControl class has these properties.

PropertyAccess typeDescription

Auto

Read-onlyGets a value that indicates if auto exposure is enabled.

Max

Read-onlyGets the maximum exposure time.

Min

Read-onlyGets the minimum exposure time.

Step

Read-onlyGets the smallest exposure time increment supported by the capture device.

Supported

Read-onlyGets a value that specifies if the capture device supports the exposure control.

Value

Read-onlyGets the exposure time.

 

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.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft