Modules.CoreMotion.CoreMotionPedometerDataWithSuccess
Dictionary passed to the callback of the Pedometer.startPedometerUpdates() and Pedometer.queryPedometerData() methods.
Extends: CoreMotionDeviceMotionData · Since: 5.2.0 · Platforms: iphone, ipad
Properties #
code#
Type: Number
An error code describing the error if there was one.
See ERROR constants for possible values.
currentCadence#
Type: Number
The rate at which steps are taken, measured in steps per second.
Note: This property is only available on iOS 9 and later.
currentPace#
Type: Number
The current pace of the user, measured in seconds per meter.
Note: This property is only available on iOS 9 and later.