W3C

W3C Invites Implementations of the Sensor APIs

Device’s local coordinate system and rotation. The Devices and Sensors Working Group invites implementations of four Candidate Recommendations:

  • Generic Sensor API defines a framework for exposing sensor data to the Open Web Platform in a consistent way. It does so by defining a blueprint for writing specifications of concrete sensors along with an abstract Sensor interface that can be extended to accommodate different sensor types.
  • Accelerometer defines Accelerometer, LinearAccelerationSensor and GravitySensor interfaces for obtaining information about acceleration applied to the X, Y and Z axis of a device that hosts the sensor.
  • Gyroscope defines a concrete sensor interface to monitor the rate of rotation around the device’s local three primary axes.
  • Orientation Sensor defines a base orientation sensor interface and concrete sensor subclasses to monitor the device’s physical orientation in relation to a stationary three dimensional Cartesian coordinate system.

Comments are welcome by 8 January 2020.