CoreMotionPedometerDataWithSuccess
> CoreMotionPedometerDataWithSuccess

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

  • 5.2.0
  • 5.2.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

The attitude of the device.

The attitude of the device.

CoreMotionPedometerDataWithSuccess
code : Numberreadonly

An error code describing the error if there was one.

An error code describing the error if there was one.

See ERROR constants for possible values.

CoreMotionPedometerDataWithSuccess
: Numberreadonly
The rate at which steps are taken, measured in steps per second. ...

The rate at which steps are taken, measured in steps per second. Note: This property is only available on iOS 9 and later.

CoreMotionPedometerDataWithSuccess
: Numberreadonly
The current pace of the user, measured in seconds per meter. ...

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

CoreMotionPedometerDataWithSuccess
distance : Numberreadonly

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

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

CoreMotionPedometerDataWithSuccess
endDate : Datereadonly

The end time for the pedometer data.

The end time for the pedometer data.

CoreMotionPedometerDataWithSuccess
error : Stringreadonly

An error message describing the error if there was one.

An error message describing the error if there was one.

CoreMotionPedometerDataWithSuccess
floorsAscended : Numberreadonly

The approximate number of floors ascended by walking.

The approximate number of floors ascended by walking.

CoreMotionPedometerDataWithSuccess
floorsDescended : Numberreadonly

The approximate number of floors descended by walking.

The approximate number of floors descended by walking.

The gravity acceleration vector expressed in the device's reference frame.

The gravity acceleration vector expressed in the device's reference frame.

Returns the magnetic field vector with respect to the device.

Returns the magnetic field vector with respect to the device.

CoreMotionPedometerDataWithSuccess
numberOfSteps : Numberreadonly

The number of steps taken by the user.

The number of steps taken by the user.

The roation rate of the device.

The roation rate of the device.

CoreMotionPedometerDataWithSuccess
startDate : Datereadonly

The start time for the pedometer data.

The start time for the pedometer data.

CoreMotionPedometerDataWithSuccess
success : Booleanreadonly

A Boolean indicating if the operation was successful or not.

A Boolean indicating if the operation was successful or not.

The time when the logged item is valid.

The time when the logged item is valid.

The time stamp is the amount of time in milliseconds since the phone booted.

The acceleration that the user is giving to the device.

The acceleration that the user is giving to the device.