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

Re: ACTION-357: Network Connection API draft

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 06 Apr 2011 17:26:09 +0200
To: Rich Tibbett <richt@opera.com>
Cc: Suresh Chitturi <schitturi@rim.com>, public-device-apis@w3.org
Message-ID: <1302103569.6838.152.camel@altostratustier>
Le mercredi 06 avril 2011 à 16:59 +0200, Rich Tibbett a écrit :
> [NoInterfaceObject]
> interface NetworkChangeEvent : Event {
>      readonly attribute unsigned short        type;
>      void initNetworkChangeEvent (in DOMString type, in boolean bubbles, 
> in boolean cancelable, in unsigned short type);
> };

As we discussed briefly during the call, I think the Android
implementation "simply" fires a new online event [1] each time the
underlying network connection type changes; I think we should adopt the
same approach for that API.

Dom

1. http://dev.w3.org/html5/spec/offline.html#event-online
Received on Wednesday, 6 April 2011 15:26:31 GMT

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