# CoreMotionDeviceMotionData

Representation of a device-motion event.

Availability
3.3.0

NOTE

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

# Properties

# attitude READONLY

Availability
3.3.0
attitude :CoreMotionAttitude

The attitude of the device.


# gravity READONLY

Availability
3.3.0

The gravity acceleration vector expressed in the device's reference frame.


# heading READONLY

Availability
8.3.0
heading :Number

Returns heading angle in the range [0,360) degrees with respect to the attitude-reference-frame.


# magneticField READONLY

Availability
3.3.0

Returns the magnetic field vector with respect to the device.


# rotationRate READONLY

Availability
3.3.0
rotationRate :CoreMotionRotationRate

The roation rate of the device.


# userAcceleration READONLY

Availability
3.3.0
userAcceleration :CoreMotionAcceleration

The acceleration that the user is giving to the device.