W3C home > Mailing lists > Public > public-device-apis-log@w3.org > January 2019

Re: [deviceorientation] Add API for requesting permission to receive device motion / orientation events (#57)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Thu, 31 Jan 2019 18:59:29 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-459464115-1548961168-sysbot+gh@w3.org>
@richtr The problem with those recommendations is that they still break existing applications but in more subtle ways. As outlined in [my previous comment](https://github.com/w3c/deviceorientation/issues/57#issuecomment-447430709) before we can realistically restrict the fidelity of the data available via this or the Generic Sensors API there needs to be a mechanism for developers to express to the user agent the level of data fidelity required for their particular application. The proposed `requestPermission()` amendment to this API, and the additional parameters to the Sensor constructor in the Generic Sensors API, are that mechanism.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/57#issuecomment-459464115 using your GitHub account
Received on Thursday, 31 January 2019 18:59:30 UTC

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