This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

Connection

Summary

Provides a handle to the device’s connection information.

Properties

bandwidth
An estimation of the current bandwidth in MB/s (Megabytes per seconds) available.
metered
A connection is metered when the user’s connection is subject to a limitation from his Internet Service Provider strong enough to request web applications to be careful with the bandwidth usage.
onchange
Handles the change event, fired when the Connection changes.

Methods

No methods.

Events

change
Fires when the Connection changes.

Notes

As of 25 June 2014:

  • Formal work on the Network Information spec has been stopped. The specification is now a W3C Note.
  • Both Chrome and Firefox have shipped Network Information under an experimental feedback channel.

Related specifications

The Network Information API
W3C Note