W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2012

comments of Network Information API

From: ⾲ <wujing6@chinaunicom.cn>
Date: Sun, 18 Mar 2012 21:07:17 +0800
To: <public-device-apis@w3.org>
Message-ID: <002701cd0508$0be1ff50$23a5fdf0$@cn>
Hi, all

   I have a comment of network information:

  I Suggest adding the type attribute in connection interface.

Mobile devices can connect the network through a variety of methods, such as
GPRS, Edge, 3Gnet, 3Gwap, LTE, WiMAX, WiFi, Ethernet and USB. We should tell
the users what kind of data connection is using. It is useful to users,
especially whose connection is charging according to the data flow.

 

Amendments:

interface connect: EventTarget{

         

attributeDOMStringtype;



}

Attributes: 

typeof type DOMString, readonly

The typeattribute is an enumerated attribute that can take one of the
following values: GPRS, Edge, 3Gnet, 3Gwap,LTE,WiMAX,WiFi, Ethernet, USB,
unknown. The value indicates which kind of data connection the device is
using.

 

*******************************************
Jing Wu
China Unicom Research Institute
Mobile1860113839  
Tel: +8610 66522582
Email: wujing6@chinaunicom.cn
<mailto:jianglin9@chinaunicom.cn?Subject=Re%3A%20Comments%20about%20battery%
20status%20API&In-Reply-To=%253C201203161711339873195%40chinaunicom.cn%253E&
References=%253C201203161711339873195%40chinaunicom.cn%253E> 
Add: No.33, Erlong Road, Xicheng District, Beijing 100032, P.R.China

********************************************   
Received on Sunday, 18 March 2012 13:07:59 GMT

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