Skip to content

ConnectivityProbe

Collects a Connectivity measurement every time the phone's connectivity status changes.

Used for the ConnectivitySamplingPackage.CONNECTIVITY measure. Also collects the current status when sampling is resumed.

Inheritance

Constructors

ConnectivityProbe

ConnectivityProbe()

Properties

stream

Stream<Measurement> get stream
override

The stream of Measurement objects for this StreamProbe. Must be implemented by sub-classes.

Methods

onResume

Future<bool> onResume()
override

Callback when this executor is resumed. Returns true if successfully resumed, false otherwise.