public class ConnectionStateReceiver
extends android.content.BroadcastReceiver
BroadcastReceiver used by Connection implementation to receive actual information
about network connection state.| Constructor and Description |
|---|
ConnectionStateReceiver() |
| Modifier and Type | Method and Description |
|---|---|
android.content.IntentFilter |
newIntentFilter()
Returns the intent filter for
ConnectivityManager.CONNECTIVITY_ACTION action which
should be used when registering this instance of connection receiver. |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic final android.content.IntentFilter newIntentFilter()
ConnectivityManager.CONNECTIVITY_ACTION action which
should be used when registering this instance of connection receiver.IntentFilter.public void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiver