W3C home > Mailing lists > Public > public-device-apis@w3.org > April 2011

Re: ACTION-357: Network Connection API draft

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Wed, 6 Apr 2011 18:39:28 +0300
CC: "public-device-apis@w3.org Group WG" <public-device-apis@w3.org>
Message-ID: <4561DBE6-D53D-426B-8F00-C47514BFF25C@nokia.com>
To: Suresh Chitturi <schitturi@rim.com>, ext Rich Tibbett <richt@opera.com>
On 6.4.2011, at 18.07, ext Rich Tibbett wrote:

> Minor point: for future-proofing, the NONE constant on the Connection interface could be e.g. 20 rather than 6. That would let us define e.g. CELL_5G in a logical way if and when that came online.

Or perhaps -1 if we're happy making the type attribute of type short instead. This allows testing for existence of any connection (type > -1) and we can have CELL_50G or whatever we may come up with :)

-Anssi
Received on Wednesday, 6 April 2011 15:40:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:20 GMT