CoreMotionStepCountingQueryDataWithSuccess
> CoreMotionStepCountingQueryDataWithSuccess

Dictionary passed to the callback of the StepCounter.queryStepCount() 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

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

CoreMotionStepCountingQueryDataWithSuccess
error : Stringreadonly

An error message describing the error if there was one.

An error message describing the error if there was one.

The number of steps that occurred between the start and end times specified by the query.

The number of steps that occurred between the start and end times specified by the query.

CoreMotionStepCountingQueryDataWithSuccess
success : Booleanreadonly

A Boolean indicating if the operation was successful or not.

A Boolean indicating if the operation was successful or not.