WifiManager.WifiStateChangedListener
public
static
interface
WifiManager.WifiStateChangedListener
android.net.wifi.WifiManager.WifiStateChangedListener |
Listener interface for applications to receive updates about the current Wi-Fi enabled state.
Summary
Public methods | |
---|---|
abstract
void
|
onWifiStateChanged(int state)
Called when the Wi-Fi enabled state changes. |
Public methods
onWifiStateChanged
public abstract void onWifiStateChanged (int state)
Called when the Wi-Fi enabled state changes.
Parameters | |
---|---|
state |
int : The new Wi-Fi state.
Value is WifiManager.WIFI_STATE_DISABLING , WifiManager.WIFI_STATE_DISABLED , WifiManager.WIFI_STATE_ENABLING , WifiManager.WIFI_STATE_ENABLED , or WifiManager.WIFI_STATE_UNKNOWN |