Skip to content

SensorProbe

Base class for the raw sensor probes, providing their samplingPeriod.

The sampling interval can be specified ("overridden") by specifying a IntervalSamplingConfiguration when configuring a Measure in the protocol. Default sampling interval is 200 ms.

Note that it seems like setting the sampling interval does NOT work on Android. Please see the docs on the sensors_plus package and on the Android sensor documentation.

Inheritance
Implementers

Constructors

SensorProbe

SensorProbe()

Properties

samplingPeriod

Duration get samplingPeriod

The interval from the measure's IntervalSamplingConfiguration, or 200 ms if none is set.