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

Re: [sensors] Should we request permission when sensor is not supported by the platform?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Nov 2016 23:44:26 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-260500848-1479167064-sysbot+gh@w3.org>
> e.g. not expose the object at all (if device not supported/detected)

So that's not an option, actually. The availability/existence of the 
sensor is only known at runtime and requires an async call.

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/145#issuecomment-260500848 using
 your GitHub account
Received on Monday, 14 November 2016 23:44:32 UTC

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