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

Re: [proximity] Behavior of `distance` attribute when sensor cannot provide distance measurements? (#44)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Jan 2021 22:45:51 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-768628512-1611787550-sysbot+gh@w3.org>
I believe the intent is that the `min` and `max` attributes should indicate the sensing range of the device and `distance` may be set to an arbitrary value in between.

I should note that no browser has shipped an implementation of the `ProximitySensor` interface and so there is little implementation experience from which to deduce that this is the correct API for such sensors. It may be more appropriate for that experience to flow from TC53's work on its own draft specification rather than the other way around.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/proximity/issues/44#issuecomment-768628512 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 January 2021 22:45:57 UTC

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