Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.4 KB

videodevicecontroller.md

File metadata and controls

44 lines (31 loc) · 2.4 KB
-api-id -api-type
T:Windows.Media.Devices.VideoDeviceController
winrt class

Windows.Media.Devices.VideoDeviceController

-description

Controls device settings on the camera.

-remarks

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

Some drivers may require that the camera device preview to be in a running state before it can determine which controls are supported by the VideoDeviceController. If you check whether a certain control is supported by the VideoDeviceController before the preview stream is running, the control may be described as unsupported even though it is supported by the video device.

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

Version history

Windows version SDK version Value added
1703 15063 GetDevicePropertyByExtendedId
1703 15063 GetDevicePropertyById
1703 15063 Id
1703 15063 SetDevicePropertyByExtendedId
1703 15063 SetDevicePropertyById
1803 17134 VideoTemporalDenoisingControl
1903 18362 InfraredTorchControl
2004 19041 PanelBasedOptimizationControl

-examples

-see-also

Lamp device sample