RegionsOfInterestControl RegionsOfInterestControl RegionsOfInterestControl RegionsOfInterestControl RegionsOfInterestControl Class

Definition

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

public : sealed class RegionsOfInterestControl : IRegionsOfInterestControl
struct winrt::Windows::Media::Devices::RegionsOfInterestControl : IRegionsOfInterestControl
public sealed class RegionsOfInterestControl : IRegionsOfInterestControl
Public NotInheritable Class RegionsOfInterestControl Implements IRegionsOfInterestControl
// 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 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 AutoExposureSupported AutoExposureSupported AutoExposureSupported AutoExposureSupported

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

AutoFocusSupported AutoFocusSupported AutoFocusSupported AutoFocusSupported AutoFocusSupported

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

AutoWhiteBalanceSupported AutoWhiteBalanceSupported AutoWhiteBalanceSupported AutoWhiteBalanceSupported AutoWhiteBalanceSupported

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

MaxRegions MaxRegions MaxRegions MaxRegions MaxRegions

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

Methods

ClearRegionsAsync() ClearRegionsAsync() ClearRegionsAsync() ClearRegionsAsync() ClearRegionsAsync()

Asynchronously clears the regions of interests.

SetRegionsAsync(IIterable<RegionOfInterest>) SetRegionsAsync(IIterable<RegionOfInterest>) SetRegionsAsync(IIterable<RegionOfInterest>) SetRegionsAsync(IIterable<RegionOfInterest>) SetRegionsAsync(IIterable<RegionOfInterest>)

Asynchronously sets the regions of interest.

SetRegionsAsync(IIterable<RegionOfInterest>, Boolean) SetRegionsAsync(IIterable<RegionOfInterest>, Boolean) SetRegionsAsync(IIterable<RegionOfInterest>, Boolean) SetRegionsAsync(IIterable<RegionOfInterest>, Boolean) SetRegionsAsync(IIterable<RegionOfInterest>, Boolean)

Asynchronously sets the regions of interest and specifies if the values should be locked.

See Also