W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2012

Re: [sensors] Device Proximity (was: Device light and proximity sensor)

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Tue, 15 May 2012 12:01:26 +0300
Cc: "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>
Message-Id: <5BCF8479-9B54-4270-BF70-F965411A3ADF@nokia.com>
To: ext Jonas Sicking <jonas@sicking.cc>
Hi Jonas,

On 11.5.2012, at 1.19, ext Jonas Sicking wrote:

> I would also add a warning to
> the "proximitysensor" event in the specification saying that different
> devices will have different .min/.max values as well as different
> resolution and if authors want to just detect "near"/"far" the other
> event.

I merged your proposal with the existing note on granularity as follows:


The definition of granularity i.e. how often the event is fired is left to the implementation. Different devices may also support different minimum and maximum proximities as well as different resolution, thus authors are strongly advised not to assume near or far proximity solely based on the min and max attributes' values.


Let me know if this sounds ok.

Received on Tuesday, 15 May 2012 09:02:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:37 UTC