MDN self-hosted library · e01.org

NetworkInformation: type property

Network Information API

no runnable cells web-api-instance-property upstream source

Network Information API

The type read-only property of the NetworkInformation 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

Browser compatibility