DeviceMotionEvent: interval プロパティ

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

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

仕様書

Specification
DeviceOrientation Event Specification
# ref-for-dom-devicemotionevent-interval①

ブラウザーの互換性

BCD tables only load in the browser

関連情報