Skip to content

PedometerProbe

Collects StepEvents from the hardware step counter sensor.

It samples step counts directly from the native OS and reports step events as they are sensed, typically for each step taken.

Note that the 'pedometer' plugin returns the total steps taken since last system boot.

Inheritance

Constructors

PedometerProbe

PedometerProbe()

Properties

stream

Stream<Measurement> get stream
override

The stream of Measurements to forward. Implemented by subclasses.

Read on the first resume after creation or a pause.