public static interface WifiTracker.WifiListener
Modifier and Type | Method and Description |
---|---|
void |
onAccessPointsChanged()
Called to indicate the list of AccessPoints has been updated and
getAccessPoints should be called to get the latest information.
|
void |
onConnectedChanged()
Called when the connection state of wifi has changed and isConnected
should be called to get the updated state.
|
void |
onWifiStateChanged(int state)
Called when the state of Wifi has changed, the state will be one of
the following.
|
void onWifiStateChanged(int state)
WifiManager.WIFI_STATE_DISABLED
WifiManager.WIFI_STATE_ENABLED
WifiManager.WIFI_STATE_DISABLING
WifiManager.WIFI_STATE_ENABLING
WifiManager.WIFI_STATE_UNKNOWN
state
- The new state of wifi.void onConnectedChanged()
void onAccessPointsChanged()