EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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

 

 

Mostrar:
© 2014 Microsoft