CoreMotionAccelerometerDataWithSuccess
> CoreMotionAccelerometerDataWithSuccess

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

The acceleration measured by the accelerometer.

The acceleration measured by the accelerometer.

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

CoreMotionAccelerometerDataWithSuccess
error : Stringreadonly

An error message describing the error if there was one.

An error message describing the error if there was one.

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