-api-id | -api-type | -api-device-family-note |
---|---|---|
E:Windows.Networking.Proximity.PeerWatcher.Removed |
winrt event |
xbox |
Occurs when a peer app is no longer within wireless range.
The Removed event is raised when a peer app is removed from the collection of enumerated peer apps. This may happen if a user switches apps or if a device is no longer within range.
[!code-csharp_StartPeerWatcher]
[!code-csharp_PeerWatcherRemoved]
Proximity and Tapping (C#/VB/C++), Proximity sample
proximity