Class DeviceMotionRotationRate

java.lang.Object
org.vaadin.firitin.devicemotion.DeviceMotionRotationRate

public class DeviceMotionRotationRate extends Object
Represents the rate of rotation of a device around three axes (alpha, beta, gamma).
Author:
mstahv
  • Constructor Details

    • DeviceMotionRotationRate

      public DeviceMotionRotationRate()
  • Method Details

    • getAlpha

      public Double getAlpha()
      Returns:
      rotation rate around the Z axis in degrees per second (can be null if not available)
    • getBeta

      public Double getBeta()
      Returns:
      rotation rate around the X axis in degrees per second (can be null if not available)
    • getGamma

      public Double getGamma()
      Returns:
      rotation rate around the Y axis in degrees per second (can be null if not available)
    • toString

      public String toString()
      Overrides:
      toString in class Object