Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

WifiManager.connection

This API is available on Firefox OS for internal applications only.

Summary

The connection property value provides the status and current network in used by the WiFi adapter.

Syntax

var mac = navigator.mozWifiManager.connection

Value

Return an object with the following properties:

status Read only
A string representing the current connection status, one of disconnected, connecting, associated, or connected (see MozWifiStatusChangeEvent.status for more information about each of those statuses).
network Read only
A network object representing the current network in use or null if the device is not connected to any network (see WifiManager.getNetworks() for more information about network objects).

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills,