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

[ambient-light] Is "frequency" available in ALS?

From: Wanming Lin via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Nov 2016 08:53:44 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-188194249-1478681622-sysbot+gh@w3.org>
Honry has just created a new issue for 

== Is "frequency" available in ALS? ==
>7. If frequency is not null,
>    1. If sensor supports periodic reporting mode,
>        1. Set sensor_instance’s desired frequency to frequency.
>    2. Otherwise,
>        1. throw a TypeError.

> The Ambient Light Sensor has a single supported reporting mode which
 is "auto".

According to above spec description,  "TypeError" will be thrown when 
passing a "frequency" value to ALS, but implementation in [latest 
Canary](https://www.chromium.org/getting-involved/dev-channel) is 
opposite. @riju @tobie 

Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/18 using your GitHub 
Received on Wednesday, 9 November 2016 08:53:51 UTC

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