This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The downlink
read-only property of the NetworkInformation
interface returns the effective bandwidth estimate in megabits per second, rounded to the nearest multiple of 25 kilobits per seconds. This value is based on recently observed application layer throughput across recently active connections, excluding connections made to a private address space. In the absence of recent bandwidth measurement data, the attribute value is determined by the properties of the underlying connection technology.
Syntax
var downLink = NetworkInformation.downlink
Value
A double
.
Specifications
Specification | Status | Comment |
---|---|---|
Network Information API The definition of 'downlink' in that specification. |
Editor's Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 61 | ? | ? | 48 | ? |
Available in workers | 61 | ? | ? | 48 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 50 | 38 | ? | ? | ? | 37 | ? |
Available in workers | 50 | 38 | ? | ? | ? | 37 | ? |