-api-id | -api-type |
---|---|
P:Windows.Devices.Lights.Lamp.DeviceId |
winrt property |
Gets the DeviceInformation Id for a lamp device.
The DeviceInformation Id for a lamp device.
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.