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

[ambient-light] Should we really redefine AmbientLightSensor.reading?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Tue, 08 Nov 2016 11:30:57 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-187968375-1478604656-sysbot+gh@w3.org>
tobie has just created a new issue for 

== Should we really redefine AmbientLightSensor.reading? ==
`Sensor.reading` is already defined in the Generic Sensor API as:

interface Sensor {
   // ...
   readonly attribute SensorReading? reading;
`AmbientLightSensor` inherits from `Sensor` and 
`AmbientLightSensorReading` from `SensorReading`. It therefore seems 
redefining it isn't strictly necessary. Curious what the best practice
 is, here.

Please view or discuss this issue at 
https://github.com/w3c/ambient-light/issues/17 using your GitHub 
Received on Tuesday, 8 November 2016 11:31:03 UTC

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