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:
statusRead only- A string representing the current connection status, one of
disconnected,connecting,associated, orconnected(seeMozWifiStatusChangeEvent.statusfor more information about each of those statuses). networkRead only- A
networkobject representing the current network in use ornullif the device is not connected to any network (seeWifiManager.getNetworks()for more information aboutnetworkobjects).
Specification
Not part of any specification.