[sensors] Discrete vs continuous reporting modes

tobie has just created a new issue for https://github.com/w3c/sensors:

== Discrete vs continuous reporting modes ==
Some platforms (e.g. Android) make that distinction and expose certain
 sensors as continuous (e.g. reporting data at fixed time intervals) 
others at distinct (reporting data when a specific threshold is 
reached).

This leaves a number of questions open:

- do all platforms which make the distinction are consistent across 
sensors?
- are some sensors exposed both ways on the same platform?
- how do we express that in JS? `DiscreteSensor` and 
`ContinuousSensor` that both inherit from `Sensor`?
- `onchange` (discrete) vs. `ondata` (continuous) events?

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/75 using your GitHub account

Received on Monday, 18 January 2016 23:43:27 UTC