connection property value provides the status and current network in used by the WiFi adapter.
var mac = navigator.mozWifiManager.connection
Return an object with the following properties:
- A string representing the current connection status, one of
MozWifiStatusChangeEvent.statusfor more information about each of those statuses).
networkobject representing the current network in use or
nullif the device is not connected to any network (see
WifiManager.getNetworks()for more information about
Not part of any specification.
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.