Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.17 KB

infraredtorchcontrol_power.md

File metadata and controls

29 lines (19 loc) · 1.17 KB
-api-id -api-type ms.custom
P:Windows.Media.Devices.InfraredTorchControl.Power
winrt property
19H1

Windows.Media.Devices.InfraredTorchControl.Power

-description

Gets or sets the current infrared LED power value.

-property-value

The power value the infrared LED is set to.

-remarks

The power value shall satisfy this condition: MinPower ≤ [Power Value ≤ MaxPower where ([Power Value - Min) mod PowerStep = 0.

E.g., if PowerStep is 5 and current [Power Value is 50 accepted new values are in 5 increment or decrement as long they are in valid range determined by MinPower and MaxPower.

-see-also

InfraredTorchControl.MinPower, InfraredTorchControl.MaxPower, InfraredTorchControl.PowerStep

-examples