SceneModeControl class

Applies to Windows and Windows Phone

Provides functionality for controlling the scene mode settings on a capture device.

Syntax


var sceneModeControl = VideoDeviceController.sceneModeControl;

Attributes

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

Members

The SceneModeControl class has these types of members:

Methods

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

MethodDescription
SetValueAsync Asynchronously sets the color temperature Value.

 

Properties

The SceneModeControl class has these properties.

PropertyAccess typeDescription

SupportedModes

Read-onlyGets the scene modes supported on the capture device.

Value

Read-onlyGets the current scene mod ethe capture device is set to.

 

Remarks

The SceneModeControl enables apps to tune the post-processing of captured frames to better match the scene being recorded. The SupportedModes enumeration specifies the modes, such as Snow, Night, and Sport, that are supported by the device.

To select a mode, call SceneModeControl.SetValueAsync.

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

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

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
MediaCapture.VideoDeviceController

 

 

Show:
© 2014 Microsoft