Skip to content

WifiProbe

Collects the phone's wifi connection (SSID, BSSID and IP) as Wifi data.

Used for the ConnectivitySamplingPackage.WIFI measure, at the interval set in an IntervalSamplingConfiguration.

To make this probe work on iOS (especially after iOS 12 and 13), the app must meet a set of requirements. See

Does not work on emulators (values are null).

From Android 10.0 onwards the ACCESS_FINE_LOCATION permission must be granted.

Inheritance

Constructors

WifiProbe

WifiProbe()

Methods

getMeasurement

Future<Measurement> getMeasurement()
override

Subclasses should implement this method to collect a Measurement.

Can return null if no data is available. Can return an Error measurement if an error occurs.