CoreMotionStepCountingDataWithSuccess
> CoreMotionStepCountingDataWithSuccess

Dictionary passed to the callback of the StepCounter.startStepCountingUpdates() method.

  • 3.3.0
  • 3.3.0

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

Defined By

Properties

CoreMotionStepCountingDataWithSuccess
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.

CoreMotionStepCountingDataWithSuccess
error : Stringreadonly

An error message describing the error if there was one.

An error message describing the error if there was one.

The total number of steps since the StepCounter.startStepCountingUpdates method was called.

The total number of steps since the StepCounter.startStepCountingUpdates method was called.

CoreMotionStepCountingDataWithSuccess
success : Booleanreadonly

A Boolean indicating if the operation was successful or not.

A Boolean indicating if the operation was successful or not.

The time at which the current step count was reported.

The time at which the current step count was reported.