Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

WifiManager.forget()

This API is available on Firefox OS for internal applications only.

Summary

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

network
A network object as the ones provided by the getNetworks or getKnownNetworks methods.

Returns

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

Specification

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, fscholz, kscarfone, Jeremie
 Last updated by: chrisdavidmills,