bindings/generic_sensor library

Generic Sensor API

https://w3c.github.io/sensors/

Classes

MockSensor
MockSensorConfiguration
MockSensorReadingValues
Sensor
The interface of the Sensor APIs is the base class for all the other sensor interfaces. This interface cannot be used directly. Instead it provides properties, event handlers, and methods accessed by interfaces that inherit from it. If a feature policy blocks use of a feature it is because your code is inconsistent with the policies set on your server. This is not something that would ever be shown to a user. The Feature-Policy HTTP header article contains implementation instructions.
SensorErrorEvent
The interface of the Sensor APIs provides information about errors thrown by a Sensor or derived interface.
SensorErrorEventInit
SensorOptions