- From: JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>
- Date: Thu, 17 Jun 2010 12:37:42 +0200
- To: "public-device-apis@w3.org" <public-device-apis@w3.org>
Received on Thursday, 17 June 2010 10:38:18 UTC
Dear all, The interface 'SystemDevice' seems to be a bit underspecified. Particularly you say that the info field can be used to hold free-form info such as the name of the manufacturer. I think that it is not a good idea and that such a field might turn into some kind of hotchpotch. A better API would allow to obtain for instance vendor information using something like var batteries = navigator. system.get("Power") foreach battery in batteries alert(battery.get("vendor")) i.e. each component, aspect instance, might be enqueried about its properties, including common ones such as vendor, model, version, etc. best
Received on Thursday, 17 June 2010 10:38:18 UTC