[light] [proximity] Merging interfaces

Hi All,

[During our most recent weekly call the group agreed [1] we should revisit this proposal on the list to see if we have reached consensus.]

A while ago Anne proposed [2] we should expose both the state (dim, normal, bright) and the lux value via the same interface in the Ambient Light spec.

Currently the state and the value are exposed through separate interfaces (see the current spec at [3]).

Following Anne's proposal I drafted a concrete proposal [4], outlining implications of the change. It was also suggested [5] we'd updated the Proximity spec [6] respectively as well, as they share similar design. I've received +1 from Doug who has implemented the current specs in Gecko. Personally, I'm also supportive of the proposed changes.

All - if you have concerns with the proposed changes to the Ambient Light and Proximity specs as outlined in this mail, please let us know.

-Anssi

[1] http://lists.w3.org/Archives/Public/public-device-apis/2013Apr/att-0057/minutes-2013-04-24.html#item09
[2] http://lists.w3.org/Archives/Public/public-device-apis/2013Apr/0019.html
[3] https://dvcs.w3.org/hg/dap/raw-file/default/light/Overview.html
[4] http://lists.w3.org/Archives/Public/public-device-apis/2013Apr/0043.html
[5] http://lists.w3.org/Archives/Public/public-device-apis/2013Apr/0051.html
[6] https://dvcs.w3.org/hg/dap/raw-file/default/proximity/Overview.html

Received on Tuesday, 7 May 2013 10:39:35 UTC