- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Nov 2016 16:13:39 +0000
- To: public-device-apis-log@w3.org
> Hence, my suggestion is to agree on a consistent permission request style (either low-level OR high-level) for usability reasons. Yes, I tend to agree, but this means we need a way to expose them so developers don't need to figure them out by reading the documentation. E.g. as a prop on the sensor object or sensor class, e.g. ```js Magnetometer.PERMISSIONS // ["magnetometer"] Headtracker.PERMISSIONS // ["magnetometer", "gyroscope", "accelerometer"] ``` -- GitHub Notification of comment by tobie Please view or discuss this issue at https://github.com/w3c/sensors/issues/132#issuecomment-259180750 using your GitHub account
Received on Tuesday, 8 November 2016 16:13:46 UTC