W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2015

Re: [sensors] Do we need a lightweight interface representing available sensors?

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Jun 2015 15:11:42 +0000
To: public-device-apis@w3.org
Message-ID: <issue_comment.created-110032703-1433776302-sysbot+gh@w3.org>
What is SensorIdentifier?

It makes more sense to have a getAll() return a list of normal JS 
objects, from which you can use the identifiers to create new Sensor 
instances. The createObserver model is a step backwards---remember 
that createObserver itself must call some constructor, so why are you 
hiding that constructor from authors?

GitHub Notif of comment by domenic
See https://github.com/w3c/sensors/issues/28#issuecomment-110032703
Received on Monday, 8 June 2015 15:11:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:05 UTC