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
, orconnected
(seeMozWifiStatusChangeEvent.status
for more information about each of those statuses). network
Read only- A
network
object representing the current network in use ornull
if the device is not connected to any network (seeWifiManager.getNetworks()
for more information aboutnetwork
objects).
Specification
Not part of any specification.