W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2016

Re: [sensors] Should the enum SensorState have nosensor ?

From: Rijubrata Bhaumik via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 May 2016 12:48:19 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-217854809-1462798099-sysbot+gh@w3.org>
I think "errored" state suffices as of now, till we work on the 
Discovery part (with remote sensors) in more detail in v2. 
irrc @tobie said that if the api-consumers want to know more, they 
should listen to the onerror event and get additional information from
 it.

So, idle -> errored, when there is no relevant hardware sensor.


-- 
GitHub Notification of comment by riju
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/104#issuecomment-217854809 using
 your GitHub account
Received on Monday, 9 May 2016 12:48:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:08 UTC