Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. NetworkInformation
  4. type

NetworkInformation: type property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

Note: This feature is available inWeb Workers.

Thetype read-only property of theNetworkInformation interface returns the type of connection a device is using to communicate with the network.

Value

An enumerated value that is one of the following values:

  • "bluetooth"
  • "cellular"
  • "ethernet"
  • "none"
  • "wifi"
  • "wimax"
  • "other"
  • "unknown"

Specifications

Specification
Network Information API
# dom-networkinformation-type

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp