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

nsIWifiListener

This interface is implemented by clients interested in receiving notifications when the list of available WiFi access points changes.
1.0
28
Introduced
Gecko 1.9.1
Inherits from: nsISupports Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Method overview

void onChange([array, size_is(aLen)] in nsIWifiAccessPoint accessPoints, in unsigned long aLen);
void onError(in long error);

Methods

onChange()

Called when the list of available access points changes.

void onChange(
  [array, size_is(aLen)] in nsIWifiAccessPoint accessPoints,
  in unsigned long aLen
);
Parameters
accessPoints
An array of nsIWifiAccessPoint objects representing all currently-available WiFi access points.
aLen
The number of entries in the accessPoints array.

onError()

Called when an error occurs while updating the WiFi access point list.

void onError(
  in long error
);
Parameters
error
The nsresult value indicating the error that occurred.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,