A DeviceRotationRate object provides information about the rate at which the device is rotating around all three axes.

Documentation DeviceRotationRate by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Fields

read onlygamma:Float

The amount of rotation around the Y axis, in degrees per second.

read onlybeta:Float

The amount of rotation around the X axis, in degrees per second.

read onlyalpha:Float

The amount of rotation around the Z axis, in degrees per second.