Version: Smart Feature Phone 2.5

WifiManager.forget()

Description#

The forget method is used to make a device forget about a given WiFi network. This will remove the network from the list of known networks and will remove all the configuration settings related to that network.

If the device was connected to that network, it is disconnected from it.

Syntax#

var request = navigator.mozWifiManager.forget(network);

Parameters#

Returns#

It returns a DOMRequest to handle the success or error of the operation.