Windows Dev Center

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.

RegionsOfInterestControl class

Provides functionality to mange the regions of interest on a device.

Syntax


Public NotInheritable Class RegionsOfInterestControl

Members

The RegionsOfInterestControl class has these types of members:

Methods

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

MethodDescription
ClearRegionsAsync Asynchronously clears the regions of interests.
SetRegionsAsync(IIterable(RegionOfInterest)) Asynchronously sets the regions of interest.
SetRegionsAsync(IIterable(RegionOfInterest), Boolean) Asynchronously sets the regions of interest and specifies if the values should be locked.

 

Properties

The RegionsOfInterestControl class has these properties.

PropertyAccess typeDescription

AutoExposureSupported

Read-onlyGets a value that specifies if auto exposure is supported on the capture device.

AutoFocusSupported

Read-onlyGets a value that specifies if auto focus is supported on the capture device.

AutoWhiteBalanceSupported

Read-onlyGets a value that specifies if auto white balance is supported on the capture device.

MaxRegions

Read-onlyGets the maximum number of regions of interest that can be specified.

 

Remarks

The RegionsOfInterestControl enables apps to manage the defined regions of interest. A region of interest is represented by RegionOfInterest object.

The region of interest selects the area of preview that functions such as focus and exposure are computed over. This enables scenarios such as tap to focus.

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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
RegionOfInterest
MediaCapture.VideoDeviceController

 

 

Show:
© 2015 Microsoft