Media​Device​Control​Capabilities Media​Device​Control​Capabilities Media​Device​Control​Capabilities Class

Definition

Gets the capabilities of a camera setting.

public sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilitiespublic sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilitiesPublic NotInheritable Class MediaDeviceControlCapabilities Implements IMediaDeviceControlCapabilities
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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).

Properties

AutoModeSupported AutoModeSupported AutoModeSupported

Queries whether the camera supports automatic adjustment of the setting.

public PlatForm::Boolean AutoModeSupported { get; }public bool AutoModeSupported { get; }Public ReadOnly Property AutoModeSupported As bool
Value
bool bool bool

True if the camera supports automatic adjustment of the setting; otherwise false.

Attributes

Default Default Default

Gets the default value of the camera setting.

public double Default { get; }public double Default { get; }Public ReadOnly Property Default As double
Value
double double double

The default value.

Attributes

Max Max Max

Sets the maximum value of the camera setting.

public double Max { get; }public double Max { get; }Public ReadOnly Property Max As double
Value
double double double

The maximum value.

Attributes

Min Min Min

Gets the minimum value of the camera setting.

public double Min { get; }public double Min { get; }Public ReadOnly Property Min As double
Value
double double double

The minimum value.

Attributes

Step Step Step

Ges the step size for the setting. The step size is the smallest increment by which the property can change.

public double Step { get; }public double Step { get; }Public ReadOnly Property Step As double
Value
double double double

The step size.

Attributes

Supported Supported Supported

Indicates whether the camera supports this camera setting.

public PlatForm::Boolean Supported { get; }public bool Supported { get; }Public ReadOnly Property Supported As bool
Value
bool bool bool

True if the camera supports the setting; otherwise false.

Attributes