bandwidth
Summary
An estimation of the current bandwidth in MB/s (Megabytes per seconds) available.
Property of apis/network_information/Connectionapis/network_information/Connection
Syntax
Note: This property is read-only.
var result = connection.bandwidth;
Return Value
Returns an object of type doubledouble
Returns 0 if the user is currently offline, infinity if the bandwidth is unknown.
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