DeviceWatcher.Updated | updated event
Event that is raised when a device is updated in the collection of enumerated devices.
Syntax
function onUpdated(eventArgs) { /* Your code */ } // addEventListener syntax deviceWatcher.addEventListener("updated", onUpdated); deviceWatcher.removeEventListener("updated", onUpdated); - or - deviceWatcher.onupdated = onUpdated;
Event information
| Delegate | TypedEventHandler(DeviceWatcher, DeviceInformationUpdate) |
|---|
Remarks
Note An app must subscribe to all of the added, removed, and updated events to be notified when there are device additions, removals or updates. If an app handles only the added event, it will not receive an update if a device is added to the system after the initial device enumeration completes.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
