CoreMotionDeviceMotionData
> CoreMotionDeviceMotionData

Representation of a device-motion event.

  • 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

CoreMotionDeviceMotionData
attitude : CoreMotionAttitudereadonly

The attitude of the device.

The attitude of the device.

CoreMotionDeviceMotionData
gravity : CoreMotionAccelerationreadonly

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

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

CoreMotionDeviceMotionData
magneticField : CoreMotionCalibratedMagneticFieldreadonly

Returns the magnetic field vector with respect to the device.

Returns the magnetic field vector with respect to the device.

CoreMotionDeviceMotionData
rotationRate : CoreMotionRotationRatereadonly

The roation rate of the device.

The roation rate of the device.

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.

CoreMotionDeviceMotionData
userAcceleration : CoreMotionAccelerationreadonly

The acceleration that the user is giving to the device.

The acceleration that the user is giving to the device.