[5] Window インターフェイスの
ondevicemotion IDL属性は、
devicemotion イベントのイベントハンドラーIDL属性です >>4。
DeviceMotionEvent インターフェイス[9] DeviceMotionEvent インターフェイスは、
Event インターフェイスを継承しています。
イベント構築子を持ちます。
文書環境に晒されています。
DeviceMotionEventInit 辞書は、
EventInit 辞書を継承しています。 >>4
[19] DeviceOrientation Event に対応した利用者エージェントは、
devicemotion イベントを発火しなければなりません。
情報を提供できない場合も、 (null で) 発火するべきです。 >>4
[18] 取得間隔を、固定の ms 単位の値に設定します。
取得間隔ごとに、ハードウェアからデータを取得します。
動きの情報を提供できないときは、 取得間隔を null に設定します。 >>4
[8] 窓の決定、取得間隔の決定、そもそもこの情報を提供するかどうかなどについては、 DeviceOrientation Event を参照。
[6] 次のようにしなければなりません >>4。null に設定します。null に設定します。null に設定します。devicemotionDeviceMotionEventaccelerationaccelerationIncludingGravityrotationRatenull に設定します。interval
[22] Windows 版の Chrome の、おそらく測定できない環境では、
acceleration、accelerationIncludingGravity、
rotationRate ともオブジェクトになりますが、
各IDL属性は null になります。
interval は 0 になります。
[1] DeviceOrientation Event Specification ( ( 版)) http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion
[2] devicemotion - Event reference | MDN ( ( 版)) https://developer.mozilla.org/en-US/docs/Web/Events/devicemotion
We want to start applying the concepts in https://w3c.github.io/webappsec/specs/powerfulfeatures/ to features that have already shipped and which do not meet the (new, not present at the time) requirements.
[23] Merge pull request #41 from w3c/timvolodine-clarify-null (timvolodine著, ) https://github.com/w3c/deviceorientation/commit/e37c9f2df202bc4958c4448e95814d77858a15bf
[24] Deprecations and Removals in Chrome 59 | Web | Google Developers () https://developers.google.com/web/updates/2017/04/chrome-59-deprecations
Added Motion & Orientation settings on iOS to enable the DeviceMotionEvent and DeviceOrientationEvent events.