MozWifiStatusChangeEvent

Tags: 1.0 2.0 2.5 Privileged

Description

The MozWifiStatusChangeEvent interface provides developers with information regarding the current status of the Wifi connection.

This interface also inherit from the Event interface

Properties

Methods

EventHandler:

  • WifiManager.onstatuschange Specifies an event listener to receive MozWifiStatusChangeEvent events. Those events occur when the device's WiFi connection status changes.

Example

var wifi = navigator.mozWifiManager;

wifi.onstatuschange = function (event) {
  console.log('The connection status is: ' + event.status);
}

MozWifiStatusChangeEvent by Mozilla Contributors is licensed under CC-BY-SA 2.5.