# CoreMotionMagnetometerDataWithSuccess

Dictionary passed to the callback of the startMagnetometerUpdates method.

Availability
3.3.0

NOTE

This is an abstract type. Any object of this structure can be used where this type is used.

# Properties

# code READONLY

Availability
3.3.0
code :Number

An error code describing the error if there was one.

See ERROR constants for possible values.


# error READONLY

Availability
3.3.0
error :String

An error message describing the error if there was one.


# magneticField READONLY

Availability
3.3.0
magneticField :CoreMotionMagneticField

The magnetic field measured by the magnetometer.


# success READONLY

Availability
3.3.0
success :Boolean

A Boolean indicating if the operation was successful or not.


# timestamp READONLY

Availability
3.3.0
timestamp :Number

The time when the logged item is valid.

The time stamp is the amount of time in milliseconds since the phone booted.