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

[SysInfo API] Proposing an alternative to the SystemDevice interface

Date: Thu, 17 Jun 2010 12:37:42 +0200
To: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-id: <93AA9E47B82F684A868C217766F489053A98041200@EXCLU2K7.hi.inet>
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

i.e. each component, aspect instance, might be enqueried about its properties, including common ones such as vendor, model, version, etc.

Received on Thursday, 17 June 2010 10:38:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:44 UTC