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

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

From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
Date: Mon, 31 Oct 2016 19:50:41 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-257400632-1477943439-sysbot+gh@w3.org>
@rwaldron you are correct, problem is that Sensor.reading points to 
'current' reading and mutated from native side, after stop is called, 
there is no 'current' there can be only 'last' reading. @tobie, we 
will need to fix implementation, should be easy.

-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/15#issuecomment-257400632 
using your GitHub account
Received on Monday, 31 October 2016 19:50:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC