Skip to main content
MediaDeviceControlCapabilities class

Applies to Windows and Windows Phone

Gets the capabilities of a camera setting.

Syntax


/* For information about creating or accessing this object, see Remarks. */

public sealed class MediaDeviceControlCapabilities

Public NotInheritable Class MediaDeviceControlCapabilities

public ref class MediaDeviceControlCapabilities sealed 

Attributes

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

Members

The MediaDeviceControlCapabilities class has these types of members:

Methods

The MediaDeviceControlCapabilities class inherits methods from the Object class (C#/VB/C++).

Properties

The MediaDeviceControlCapabilities class has these properties.

PropertyAccess typeDescription

AutoModeSupported

Read-onlyQueries whether the camera supports automatic adjustment of the setting.

Default

Read-onlyGets the default value of the camera setting.

Max

Read-onlySets the maximum value of the camera setting.

Min

Read-onlyGets the minimum value of the camera setting.

Step

Read-onlyGes the step size for the setting.

Supported

Read-onlyIndicates whether the camera supports this camera setting.

 

Remarks

To get an instance of this object, retrieve the Capabilities property.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [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