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