motion_sensors library

Classes

AbsoluteOrientationEvent
AccelerometerEvent
Discrete reading from an accelerometer. Accelerometers measure the velocity of the device. Note that these readings include the effects of gravity. Put simply, you can use accelerometer readings to tell if the device is moving in a particular direction.
GyroscopeEvent
Discrete reading from a gyroscope. Gyroscopes measure the rate or rotation of the device in 3D space.
MagnetometerEvent
MotionSensors
OrientationEvent
ScreenOrientationEvent
UserAccelerometerEvent
Like AccelerometerEvent, this is a discrete reading from an accelerometer and measures the velocity of the device. However, unlike AccelerometerEvent, this event does not include the effects of gravity.

Properties

motionSensors MotionSensors
final