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.SetRegionsAsync(IIterable(RegionOfInterest), Boolean) | setRegionsAsync(IIterable(RegionOfInterest), Boolean) method

Applies to Windows and Windows Phone

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

Syntax


regionsOfInterestControl.setRegionsAsync(regions, lockValues).done( /* Your success and error handlers */ );

Parameters

regions

Type: IIterable<RegionOfInterest> [JavaScript/C++] | System.Collections.Generic.IEnumerable<RegionOfInterest> [.NET]

The regions of interests.

lockValues

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

Specifies if the values should be locked.

Return value

Type: IAsyncAction

The object that is used to control the asynchronous operation.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

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

RegionsOfInterestControl
SetRegionsAsync(IIterable(RegionOfInterest))

 

 

Show:
© 2014 Microsoft