← Back to release summary

Motion sensors APIs based on Generic Sensor API

Category
Device
Type
New or changed feature
Status
Enabled by default (Chrome 67)
Intent stage
None

Summary

Motion sensors extends the Generic Sensor API to expose a set of low-level and fusion sensors. This feature includes JS interfaces representing accelerometers, linear acceleration sensors, gyroscopes, absolute orientation sensors and relative orientation sensors.

Standards & signals

Docs: https://www.w3.org/TR/generic-sensor/ https://w3c.github.io/accelerometer/ https://w3c.github.io/gyroscope/ https://w3c.github.io/orientation-sensor/ https://w3c.github.io/motion-sensors/ https://developers.google.com/web/updates/2017/09/sensors-for-the-web

Samples: https://intel.github.io/generic-sensor-demos/

View on chromestatus.com