RegionsOfInterestControl Class

Definition

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

public ref class RegionsOfInterestControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class RegionsOfInterestControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class RegionsOfInterestControl
Public NotInheritable Class RegionsOfInterestControl
Inheritance
Object Platform::Object IInspectable RegionsOfInterestControl
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

The region of interest specifies the rectangular 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.

For how-to guidance for using the RegionOfInterest object, see Effects for analyzing camera frames.

Properties

AutoExposureSupported

Gets a value that specifies if auto exposure is supported on the capture device.

AutoFocusSupported

Gets a value that specifies if auto focus is supported on the capture device.

AutoWhiteBalanceSupported

Gets a value that specifies if auto white balance is supported on the capture device.

MaxRegions

Gets the maximum number of regions of interest that can be specified.

Methods

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.

Applies to

See also