Firefox Tomorrow

web api instance property

NetworkInformation: type property

View on MDN ↗

Limited availability Available in workers

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.