NetworkInformation.downlink
Experimental: 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
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
downlink |
61
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
79
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
No |
No |
48
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
No |
50
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
38
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
? |
45
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
No |
3.0
The value is never greater than 10 Mbps, as a non-standard anti-fingerprinting measure.
|
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/downlink