Skip to content

Modules.CoreMotion.CoreMotionAccelerometerDataWithSuccess

Dictionary passed to the callback of the Accelerometer.startAccelerometerUpdates() method.

Extends: CoreMotionAccelerometerData · Since: 3.3.0 · Platforms: iphone, ipad

Properties #

code#

Type: Number

An error code describing the error if there was one.

See ERROR constants for possible values.

error#

Type: String

An error message describing the error if there was one.

success#

Type: Boolean

A Boolean indicating if the operation was successful or not.

Titanium SDK Documentation