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

Re: [sensors] Call onchange only when data changes

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Nov 2016 13:18:17 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-259955385-1478870295-sysbot+gh@w3.org>
This gets very complicated very quickly, especially when you start 
getting sensors with multiple values, even more so if you include a 
primary/secondary distinction as we might want to (see #151).

If think specifying this more clearly is a really good thing and I'm 
happy (and impressed) you guys are willing to do such a thorough job 
of thinking this through.

The easy answer here is to follow what Android does (report at 5Hz no 
matter what), but I really want to include this in the broader 
reflection I'm having on this right now.

GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/152#issuecomment-259955385 using
 your GitHub account
Received on Friday, 11 November 2016 13:18:23 UTC

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