Package-level declarations
Types
Link copied to clipboard
Acceleration
is a data class that holds the X, Y, and Z values of a motion event.
Link copied to clipboard
class DeviceMotion(val gravity: Gravity, val acceleration: Acceleration, val orientation: Orientation, val magneticField: MagneticField)
DeviceMotion
is a data class that holds the acceleration data of a motion event, along with any additional data that may be returned in the future.
Link copied to clipboard
MagneticField
is a data class that holds the x, y, and z values of a motion event in degrees.
Link copied to clipboard
This class is responsible for distributing motion events to listeners. It listens for motion events from the MotionManager and notifies the listeners.
Link copied to clipboard
Orientation
is a data class that holds the yaw, pitch, and roll values of a motion event in degrees.