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

Re: [Proximity] Proposal for addition field

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Wed, 14 Nov 2012 18:32:12 +0200
Cc: "DAP public-device-apis@w3.org" <public-device-apis@w3.org>
Message-Id: <23A3BFCA-9391-4312-BA71-CF0F42BFC19F@nokia.com>
To: "ext Tran, Dzung D" <dzung.d.tran@intel.com>
Hi Dzung,

On 13.11.2012, at 20.57, ext Tran, Dzung D wrote:

> For the proximity, I am proposing adding an additional field to indicate which proximity sensor is firing the event. There are some cases that a device has multiple proximity sensors, for instance in an automotive system. My Honda has multiple proximity sensors in its front and back bumpers. Also in tablet / ultrabook, you have a proximity sensor and also a camera that can also use as proximity device. Camera can detect user near / far as an proximity event.
> What do everyone think about adding a string field that indicate which proximity sensor into this spec?
> 	http://www.w3.org/TR/proximity/#device-proximity

Do you have a code example or two in mind to demonstrate how you'd actually use this in your web app?

I'm asking, because I don't see how an additional arbitrary string field could work.

Are there any native implementations from which we could learn from?

Received on Wednesday, 14 November 2012 16:32:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:56 UTC