SensorCapabilities.WifiEnabled Property

Definition

Whether to use WiFi signals to find anchors and improve the locatability of existing anchors.

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

Property Value

Remarks

Enabling this option requires extra permissions on each platform: * Android: Declare CHANGE_WIFI_STATE, ACCESS_WIFI_STATE and ACCESS_COARSE_LOCATION in AndroidManifest.xml and obtain the permissions at run-time by calling ActivityCompat.requestPermissions(). * HoloLens: Add the "wiFiControl" 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