Windows Dev Center

PeerDiscoveryTypes enumeration

Indicates which discovery options are available to use with the PeerFinder class.

Syntax


public enum class PeerDiscoveryTypes

Attributes

[Flags()]
[Version(0x06020000)]

Members

The PeerDiscoveryTypes enumeration has these members.

MemberValueDescription
None | none0

No supported discovery types are available. You can't use the PeerFinder class.

Browse | browse1

You can use Wifi-Direct to find peers by using the FindAllPeersAsync and ConnectAsync methods of the PeerFinder class.

Triggered | triggered2

You can tap to connect to peers by using the PeerFinder class.

Examples

No code example is currently available or this language may not be supported.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

proximity
ID_CAP_PROXIMITY [Windows Phone]

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.winmd

Capabilities

proximity
ID_CAP_PROXIMITY [Windows Phone]

See also

Proximity and Tapping (JavaScript)
Proximity and Tapping (C#/VB/C++)
Samples
Proximity sample

 

 

Show:
© 2015 Microsoft