Contents

rotationRate

The rotation rate of the device.

Declaration

readonly attribute RotationRate rotationRate;

Discussion

The RotationRate object specifies the device’s rate of rotation around three axes. It contains alpha, beta, and gamma properties represented as doubles as described in DeviceOrientationEvent.

This property is null if the device cannot provide the rate of rotation—that is, if the device does not have a gyroscope.

See Also

Getting Motion Event Properties