The Pedometer API is designed to be used with the user holding the device out in front of them at a comfortable viewing angle.
The pedometer is capable of detecting all types of pedestrian behavior in real time. This allows the pedometer to register even a single step at a time.
The pedometer is designed to be flexible in registering step-like motions. It counts forward, backward, and side steps; it can count the number of steps while walking at various speeds, swaying from side to side, rocking back and forth, and running.