2 out of 2 rated this helpful - Rate this topic

PeerFinder.AllowBluetooth | allowBluetooth property

Applies to Windows and Windows Phone

Specifies whether the PeerFinder class may connect a StreamSocket object by using Bluetooth.

Syntax


var allowBluetooth = Windows.Networking.Proximity.PeerFinder.allowBluetooth;
Windows.Networking.Proximity.PeerFinder.allowBluetooth = allowBluetooth;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the PeerFinder class may connect a StreamSocket object by using Bluetooth; otherwise false. The default is true.

Requirements

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]
ID_CAP_NETWORKING [Windows Phone]

See also

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.