NetworkInformation: effectiveType property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available inWeb Workers.
TheeffectiveType read-only property of theNetworkInformation interface returns the effective type of the connectionmeaning one ofslow-2g,2g,3g, or4g. This value is determined using acombination of recently observed, round-trip time and downlink values.
In this article
Value
A string that is eitherslow-2g,2g,3g, or4g.
Specifications
| Specification |
|---|
| Network Information API> # dom-networkinformation-effectivetype> |