public static interface ConnectivityManager.OnNetworkActiveListener
ConnectivityManager.addDefaultNetworkActiveListener(android.net.ConnectivityManager.OnNetworkActiveListener)
to find out when the system default network has gone in to a high power state.Modifier and Type | Method and Description |
---|---|
void |
onNetworkActive()
Called on the main thread of the process to report that the current data network
has become active, and it is now a good time to perform any pending network
operations.
|
void onNetworkActive()
ConnectivityManager.isDefaultNetworkActive()
.