UserAccelerometerEvent class

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.

Constructors

UserAccelerometerEvent(double x, double y, double z)
Constructs an instance with the given x, y, and z values.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
Acceleration force along the x axis (excluding gravity) measured in m/s^2.
final
y double
Acceleration force along the y axis (excluding gravity) measured in m/s^2.
final
z double
Acceleration force along the z axis (excluding gravity) measured in m/s^2.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited