- From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
- Date: Mon, 31 Oct 2016 18:44:47 +0000
- To: public-device-apis-log@w3.org
@tobie, sure, readings are immutable. My question was about expected behaviour for cached readings. As Rick mentioned, als.reading would be null, that is fine, we've implemented as spec says. However, spec doesn't specify what happens if developer caches reading and accesses it after stop is called. Should we return data from the last reading before stop was called? Or maybe we should return initial values that are specified for SensorReadingInit dictionary? -- GitHub Notification of comment by alexshalamov Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/15#issuecomment-257383265 using your GitHub account
Received on Monday, 31 October 2016 18:44:53 UTC