DeviceMotionEvent: interval プロパティ

Baseline 2023
Newly available

Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

DeviceMotionEvent.interval プロパティは、基盤となるハードウェアからデータを取得する間隔をミリ秒単位で返します。これを使用して、モーションイベントの粒度を決定することができます。

時間間隔をミリ秒で表します。

仕様書

Specification
Device Orientation and Motion
# ref-for-dom-devicemotionevent-interval①

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
interval

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

関連情報