Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.49 KB

peerwatcher_enumerationcompleted.md

File metadata and controls

33 lines (22 loc) · 1.49 KB
-api-id -api-type -api-device-family-note
E:Windows.Networking.Proximity.PeerWatcher.EnumerationCompleted
winrt event
xbox

Windows.Networking.Proximity.PeerWatcher.EnumerationCompleted

-description

Occurs after a scan operation is complete and all peer apps within wireless range have been found.

-remarks

EnumerationCompleted event is raised when an enumeration looking for peer apps within range is complete.

[!IMPORTANT] For Windows Phone 8.x apps, calling PeerFinder.ConnectAsync from within an EnumerationCompleted event handler will fail. Instead, call it outside of this event handler, for example, when the user has explicitly chosen to connect to a peer.

[!code-csharp_StartPeerWatcher]

[!code-csharp_PeerWatcherEnumerationCompleted]

-examples

-see-also

Proximity and Tapping (C#/VB/C++), Proximity sample

-capabilities

proximity