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

> 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