From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/navigator/connection/index.html | 54 ++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 files/ja/web/api/navigator/connection/index.html (limited to 'files/ja/web/api/navigator/connection') diff --git a/files/ja/web/api/navigator/connection/index.html b/files/ja/web/api/navigator/connection/index.html new file mode 100644 index 0000000000..d5bfd67fd7 --- /dev/null +++ b/files/ja/web/api/navigator/connection/index.html @@ -0,0 +1,54 @@ +--- +title: Navigator.connection +slug: Web/API/Navigator/connection +tags: + - API + - Experimental + - Navigator + - Network Information API + - Property + - Reference +translation_of: Web/API/Navigator/connection +--- +
{{APIRef("Network Information API")}}{{SeeCompatTable}}
+ +

Navigator.connection は読み取り専用プロパティで、ユーザーの端末の現在の帯域幅や、接続が測定されているかどうかなどのシステムの接続に関する情報を含む {{domxref("NetworkInformation")}} を返します。ユーザーの接続に基づいて高解像度コンテンツ、または低解像度コンテンツのいずれを使うかの選択に使用できます。

+ +

構文

+ +
networkInformation = navigator.connection
+ +

+ +

{{domxref("NetworkInformation")}} オブジェクトです。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('Network Information', '#connection-attribute', 'Navigator.connection')}}{{Spec2('Network Information')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.Navigator.connection")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf