Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 914 Bytes

lamp_deviceid.md

File metadata and controls

23 lines (16 loc) · 914 Bytes
-api-id -api-type
P:Windows.Devices.Lights.Lamp.DeviceId
winrt property

Windows.Devices.Lights.Lamp.DeviceId

-description

Gets the DeviceInformation Id for a lamp device.

-property-value

The DeviceInformation Id for a lamp device.

-remarks

Pass this ID to the FromIdAsync method to retrieve the associated Lamp object. Implement a handler for the DeviceWatcher.Removed event and compare the ID of the DeviceInformationUpdate argument to the ID of a Lamp object to be notified if the device becomes unavailable.

-examples

-see-also