w3c / sensors

Generic Sensor API
https://www.w3.org/TR/generic-sensor/
Other
127 stars 59 forks source link

Explicitly associate a Sensor and a sensor type #467

Closed rakuco closed 12 months ago

rakuco commented 12 months ago

The association was implicit so far: in some abstract operations we retrieved a Sensor instance's "associated sensor type" without ever specifying what it actually meant.

Doing this also simplifies algorithms that retrieved a sensor type via a Sensor instance's platform sensor.

Related to #463.


Preview | Diff