Skip to content

Modules.CoreMotion.CoreMotionDeviceMotionDataWithSuccess

Dictionary passed to the callback of the Magnetometer.startDeviceMotionUpdates() and Magnetometer.startDeviceMotionUpdatesUsingReferenceFrame() methods.

Extends: CoreMotionDeviceMotionData · 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