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.