NetworkInformation.effectiveType
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
effectiveType
は NetworkInformation
インターフェイスの読み取り専用プロパティで、
このプロパティは、 'slow-2g', '2g', '3g', '4g' のいずれかを意味する接続の有効な種類を返します。この値は、最近観測された、ラウンドトリップ時間とダウンリンク値の組合せを使用して決定されます。
値
'slow-2g', '2g', '3g', '4g' の何れかの文字列です。
仕様書
Specification |
---|
Network Information API # dom-networkinformation-effectivetype |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
effectiveType |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.