MediaDeviceControlCapabilities MediaDeviceControlCapabilities MediaDeviceControlCapabilities MediaDeviceControlCapabilities Class

Definition

Gets the capabilities of a camera setting.

public : sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilities
public sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilities
Public NotInheritable Class MediaDeviceControlCapabilities Implements IMediaDeviceControlCapabilities
// 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

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 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
var bool = mediaDeviceControlCapabilities.autoModeSupported;
Value
Platform::Boolean bool bool bool

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

Default 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
var double = mediaDeviceControlCapabilities.default;
Value
double double double double

The default value.

Max 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
var double = mediaDeviceControlCapabilities.max;
Value
double double double double

The maximum value.

Min 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
var double = mediaDeviceControlCapabilities.min;
Value
double double double double

The minimum value.

Step 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
var double = mediaDeviceControlCapabilities.step;
Value
double double double double

The step size.

Supported 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
var bool = mediaDeviceControlCapabilities.supported;
Value
Platform::Boolean bool bool bool

True if the camera supports the setting; otherwise false.