DeviceWatcherEvent DeviceWatcherEvent DeviceWatcherEvent DeviceWatcherEvent Class

Definition

Triggered when the list of devices is updated after the initial enumeration is complete.

public : sealed class DeviceWatcherEvent : IDeviceWatcherEventpublic sealed class DeviceWatcherEvent : IDeviceWatcherEventPublic NotInheritable Class DeviceWatcherEvent Implements IDeviceWatcherEvent// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

DeviceInformation DeviceInformation DeviceInformation DeviceInformation

Gets the information for the device associated with the DeviceWatcherEvent.

public : DeviceInformation DeviceInformation { get; }public DeviceInformation DeviceInformation { get; }Public ReadOnly Property DeviceInformation As DeviceInformation// You can use this property in JavaScript.
Value
DeviceInformation DeviceInformation DeviceInformation DeviceInformation

The information for the added, removed, or updated device.

DeviceInformationUpdate DeviceInformationUpdate DeviceInformationUpdate DeviceInformationUpdate

Gets updated information for a device updated by the DeviceWatcherEvent.

public : DeviceInformationUpdate DeviceInformationUpdate { get; }public DeviceInformationUpdate DeviceInformationUpdate { get; }Public ReadOnly Property DeviceInformationUpdate As DeviceInformationUpdate// You can use this property in JavaScript.

Kind Kind Kind Kind

Gets the type for the device indicated by the DeviceWatcherEvent.

public : DeviceWatcherEventKind Kind { get; }public DeviceWatcherEventKind Kind { get; }Public ReadOnly Property Kind As DeviceWatcherEventKind// You can use this property in JavaScript.