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

Re: [ambient-light] What illuminance value should be reported for stopped sensor?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Tue, 01 Nov 2016 08:45:54 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-257515604-1477989951-sysbot+gh@w3.org>
> If you are planning to change Sensor.reading to 
sensor.getLatestReading(), semantics will be slightly different, for 
example, after stop() is called, should sensor.getLatestReading() 
return null? If not, what happens if permission is revoked.

I'm waiting for feedback from @rwaldron on having this be a method 
rather than an attribute getter. 


-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/15#issuecomment-257515604 
using your GitHub account
Received on Tuesday, 1 November 2016 08:45:59 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:52 UTC