Package com :: Package dtmilano :: Package android :: Package adb :: Module adbclient :: Class WifiManager |
[hide private]
[frames] | no frames]

# Class WifiManager

source code

Simulates Android WifiManager.

See Also: http://developer.android.com/reference/android/net/wifi/WifiManager.html

Instance Methods | [hide private]
__init__(self, device) | source code
getWifiState(self) Gets the Wi-Fi enabled state. | source code

Class Variables | [hide private]
| WIFI_STATE_DISABLING = `0`
| WIFI_STATE_DISABLED = `1`
| WIFI_STATE_ENABLING = `2`
| WIFI_STATE_ENABLED = `3`
| WIFI_STATE_UNKNOWN = `4`
| WIFI_IS_ENABLED_RE = `re.compile(r'Wi-Fi is enabled')`
| WIFI_IS_DISABLED_RE = `re.compile(r'Wi-Fi is disabled')`

Method Details | [hide private]

### getWifiState(self) | source code
Gets the Wi-Fi enabled state. Returns: One of WIFI_STATE_DISABLED, WIFI_STATE_DISABLING, WIFI_STATE_ENABLED, WIFI_STATE_ENABLING, WIFI_STATE_UNKNOWN