Delen via


MediaDeviceControlCapabilities Class

Definition

Gets the capabilities of a camera setting.

public ref class MediaDeviceControlCapabilities sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class MediaDeviceControlCapabilities final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class MediaDeviceControlCapabilities
Public NotInheritable Class MediaDeviceControlCapabilities
Inheritance
Object Platform::Object IInspectable MediaDeviceControlCapabilities
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

Queries whether the camera supports automatic adjustment of the setting.

Default

Gets the default value of the camera setting.

Max

Sets the maximum value of the camera setting.

Min

Gets the minimum value of the camera setting.

Step

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

Supported

Indicates whether the camera supports this camera setting.

Applies to