Share via


SensorCapabilities.BluetoothEnabled Property

Definition

Whether to use Bluetooth signals to find anchors and improve the locatability of existing anchors. Make sure that you also set KnownBeaconProximityUuids when enabling Bluetooth.

public bool BluetoothEnabled { get; set; }
member this.BluetoothEnabled : bool with get, set
Public Property BluetoothEnabled As Boolean

Property Value

Remarks

Enabling this option requires extra permissions on each platform: * Android: Declare BLUETOOTH_ADMIN, BLUETOOTH and ACCESS_COARSE_LOCATION in AndroidManifest.xml and obtain the permissions at run-time by calling ActivityCompat.requestPermissions(). * HoloLens: Add the "bluetooth" capability to your app's package manifest. * iOS: Add the "Privacy - Location When In Use Usage Description" key to Info.plist with a short description of what the permission is for.

Applies to