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

'I am idle, I am active' vs 'I idled the day away, I activated the washing machine.'

> That's a good question. I'll give you another one: which states do you think the API consumers would like to know, and which state changes do you think they be interested in?

I guess most want to know whether something is running or not running, whether to call start or stop.

You know when it is active as you will get your first reading :).

I had the same issues before like, when I call start() I don't care if it is already started, I just want to make sure it will start as soon as possible, because I need it. Same with stop, just stop as soon as you can, whether you are running or not. I don't want an API where I am kind of forced to look at states, especially if these states are not 100% trustworthy.

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

Received on Monday, 3 April 2017 08:31:01 UTC