DeviceMotionEvent
object describes an event that indicates the amount of physical motion of the device that has occurred, and is fired at a set interval (rather than in response to motion). It provides information about the rate of rotation, as well as acceleration along all three axes.DeviceMotionEvent
is fired. The next event will be fired in approximately this amount of time.