Class DeviceMotionEvent
java.lang.Object
org.vaadin.firitin.devicemotion.DeviceMotionEvent
Represents a device motion event containing acceleration and rotation data.
- Author:
 - mstahv
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
DeviceMotionEvent
public DeviceMotionEvent() 
 - 
 - 
Method Details
- 
getAcceleration
- Returns:
 - acceleration of the device excluding the effect of gravity (can be null if not available)
 
 - 
getAccelerationIncludingGravity
- Returns:
 - acceleration of the device including the effect of gravity (can be null if not available)
 
 - 
getRotationRate
- Returns:
 - rotation rate of the device around three axes (can be null if not available)
 
 - 
getInterval
- Returns:
 - interval (in milliseconds) at which data is obtained from the device
 
 - 
toString
 
 -