MozWifiConnectionInfoEvent
Description#
The MozWifiConnectionInfoEvent interface provides developers with information regarding the state of the current Wifi connection.
This interface also inherits from the Event interface.
Properties#
MozWifiConnectionInfoEvent.signalStrengthread-only
A number indicating the absolute strength of the signal in dBm.MozWifiConnectionInfoEvent.relSignalStrengthread-only
A number in the range [0,100] indicating the relative strength of the signal.MozWifiConnectionInfoEvent.linkSpeedread-only
A number representing link speed in Mb/s.MozWifiConnectionInfoEvent.ipAddressread-only
A string representing the IP address of the device in the dotted quad format.MozWifiConnectionInfoEvent.networkread-only
A network object representing the current network in use (null otherwise); see WifiManager.getNetworks for more detail about such objects.
Methods#
EventHandler:#
WifiManager.onconnectioninfoupdateA handler for the connectioninfoupdate event; triggered any time the connection information changes. The event object is a MozWifiConnectionInfoEvent instance.