Class DeviceMotionAcceleration
java.lang.Object
org.vaadin.firitin.devicemotion.DeviceMotionAcceleration
Represents the acceleration of a device along three axes (x, y, z).
The acceleration excludes the effect of gravity.
- Author:
- mstahv
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DeviceMotionAcceleration
public DeviceMotionAcceleration()
-
-
Method Details
-
getX
- Returns:
- acceleration along the X axis in m/s² (can be null if not available)
-
getY
- Returns:
- acceleration along the Y axis in m/s² (can be null if not available)
-
getZ
- Returns:
- acceleration along the Z axis in m/s² (can be null if not available)
-
toString
-