MediaDeviceControlCapabilities
MediaDeviceControlCapabilities
MediaDeviceControlCapabilities
MediaDeviceControlCapabilities
Class
Definition
Gets the capabilities of a camera setting.
public : sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilitiespublic sealed class MediaDeviceControlCapabilities : IMediaDeviceControlCapabilitiesPublic NotInheritable Class MediaDeviceControlCapabilities Implements IMediaDeviceControlCapabilities// You can use this class in JavaScript.
- Attributes
| 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the camera supports the setting; otherwise false.