Version: Smart Feature Phone 2.5
MozWifiStatusChangeEvent
#
DescriptionThe MozWifiStatusChangeEvent interface provides developers with information regarding the current status of the Wifi connection.
This interface also inherit from the Event interface
#
PropertiesMozWifiStatusChangeEvent.status
read-only
A string indicating the current status of the connection.MozWifiStatusChangeEvent.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.onstatuschange
Specifies an event listener to receive MozWifiStatusChangeEvent events. Those events occur when the device's WiFi connection status changes.
#
ExampleMozWifiStatusChangeEvent by Mozilla Contributors is licensed under CC-BY-SA 2.5.