GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

DeviceMotionEvent: interval property

Device Orientation Events

Device Orientation Events

The **`interval`** read-only property of the DeviceMotionEvent interface returns the interval, in milliseconds, at which data is obtained from the underlying
hardware. You can use this to determine the granularity of motion events.

## Value

A number representing the interval of time, in milliseconds.

## Specifications

## Browser compatibility

## See also

- Detecting device orientation
- Orientation and motion data explained
- devicemotion event

source: MDN Web Docs mirror · page

Cite this

"DeviceMotionEvent: interval property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent/interval

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·