Package org.vaadin.firitin.devicemotion
Class DeviceMotionRotationRate
java.lang.Object
org.vaadin.firitin.devicemotion.DeviceMotionRotationRate
Represents the rate of rotation of a device around three axes (alpha, beta, gamma).
- Author:
- mstahv
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DeviceMotionRotationRate
public DeviceMotionRotationRate()
-
-
Method Details
-
getAlpha
- Returns:
- rotation rate around the Z axis in degrees per second (can be null if not available)
-
getBeta
- Returns:
- rotation rate around the X axis in degrees per second (can be null if not available)
-
getGamma
- Returns:
- rotation rate around the Y axis in degrees per second (can be null if not available)
-
toString
-