webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
enum | ConnectionType |
class | ConnectivityManagerDelegate |
class | IPAddress |
class | NetworkInformation |
class | NetworkState |
interface | Observer |
class | WifiManagerDelegate |
Public Member Functions | |
NetworkMonitorAutoDetect (Observer observer, Context context) | |
boolean | supportNetworkCallback () |
void | destroy () |
NetworkState | getCurrentNetworkState () |
long | getDefaultNetId () |
void | onReceive (Context context, Intent intent) |
Static Public Member Functions | |
static ConnectionType | getConnectionType (NetworkState networkState) |
Borrowed from Chromium's src/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
Used by the NetworkMonitor to listen to platform changes in connectivity. Note that use of this class requires that the app have the platform ACCESS_NETWORK_STATE permission.
|
inline |
Constructs a NetworkMonitorAutoDetect. Should only be called on UI thread.
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Returns NetID of device's current default connected network used for communication. Only implemented on Lollipop and newer releases, returns INVALID_NET_ID when not implemented.
|
inline |
|
inline |