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

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

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 May 2016 13:32:44 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-217864815-1462800764-sysbot+gh@w3.org>
Given we're focusing on local sensors only at this point, the absence 
or presence of sensors should be know upfront. In this case, the 
constructor would throw (this is already specified in the spec). If 
there are concrete cases where sensors go MIA, then we can report this
 with an error event. Is this something that's already showing up 
during implementation, @riju?

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/104#issuecomment-217864815 using
 your GitHub account
Received on Monday, 9 May 2016 13:32:46 UTC

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