STEP_DETECTOR constant

int const STEP_DETECTOR

Step detector sensor. Triggers an event each time the user takes a step. In iOS this plugin returns the step event and not the count of steps.

Android documentation:

https://developer.android.com/guide/topics/sensors/sensors_motion#sensors-motion-stepdetector

iOS documentation:

https://developer.apple.com/documentation/coremotion/cmpedometer

Implementation

static const int STEP_DETECTOR = 18;