# CoreMotionPedometerDataWithSuccess

Dictionary passed to the callback of the Pedometer.startPedometerUpdates() and queryPedometerData methods.

Availability
5.2.0

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code READONLY

Availability
5.2.0
code :Number

An error code describing the error if there was one.

See ERROR constants for possible values.


# currentCadence READONLY

Availability
5.2.0
currentCadence :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 READONLY

Availability
5.2.0
currentPace :Number

The current pace of the user, measured in seconds per meter. Note: This property is only available on iOS 9 and later.


# distance READONLY

Availability
5.2.0
distance :Number

The estimated distance (in meters) traveled by the user.


# endDate READONLY

Availability
5.2.0
endDate :Date

The end time for the pedometer data.


# error READONLY

Availability
5.2.0
error :String

An error message describing the error if there was one.


# floorsAscended READONLY

Availability
5.2.0
floorsAscended :Number

The approximate number of floors ascended by walking.


# floorsDescended READONLY

Availability
5.2.0
floorsDescended :Number

The approximate number of floors descended by walking.


# numberOfSteps READONLY

Availability
5.2.0
numberOfSteps :Number

The number of steps taken by the user.


# startDate READONLY

Availability
5.2.0
startDate :Date

The start time for the pedometer data.


# success READONLY

Availability
5.2.0
success :Boolean

A Boolean indicating if the operation was successful or not.