Re: [sensors] Find a better name for 'unconnected' state

> When would a program write if (sensor.state === A) { ..., such that it would be distinct from if (sensor.state === D) { ...?

That's an interesting question.

Taking it one step further: is there a true difference between these two states?

State A (unactivated):
- the sensor is not running,
- we don't know whether there's an appropriate sensor to fullfill this request,
- we don't know if we'll be granted access to the sensor,

State D (deactivated):

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/160#issuecomment-290199159 using your GitHub account

Received on Wednesday, 29 March 2017 19:28:13 UTC