Version: Smart Feature Phone 2.5
WifiManager.connection
#
DescriptionThe connection property value provides the status and current network in used by the WiFi adapter.
#
Syntax#
ValueReturn 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).