DeviceMotionEventRotationRate
A DeviceMotionEventRotationRate
interface of the Device Orientation Events provides information about the rate at which the device is rotating around all three axes. Available only in secure contexts.