DeviceWatcher.GetBackgroundTrigger(IIterable<DeviceWatcherEventKind>) DeviceWatcher.GetBackgroundTrigger(IIterable<DeviceWatcherEventKind>) DeviceWatcher.GetBackgroundTrigger(IIterable<DeviceWatcherEventKind>) DeviceWatcher.GetBackgroundTrigger(IIterable<DeviceWatcherEventKind>) DeviceWatcher.GetBackgroundTrigger(IIterable<DeviceWatcherEventKind>) Method

Definition

Gets a DeviceWatcherTrigger object monitoring for changes to the list of devices.

public : DeviceWatcherTrigger GetBackgroundTrigger(IIterable<DeviceWatcherEventKind> requestedEventKinds)
DeviceWatcherTrigger GetBackgroundTrigger(IIterable<DeviceWatcherEventKind> requestedEventKinds) const;
public DeviceWatcherTrigger GetBackgroundTrigger(IEnumerable<DeviceWatcherEventKind> requestedEventKinds)
Public Function GetBackgroundTrigger(requestedEventKinds As IEnumerable(Of DeviceWatcherEventKind)) As DeviceWatcherTrigger
var deviceWatcherTrigger = deviceWatcher.getBackgroundTrigger(requestedEventKinds);

Parameters

requestedEventKinds
IEnumerable<DeviceWatcherEventKind> IEnumerable<DeviceWatcherEventKind> IEnumerable<DeviceWatcherEventKind>

A list of the specific updates you want to monitor.

Returns

The watcher trigger to monitor for the specified changes.