public class NetworkConnectivityReceiver
extends android.content.BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
protected android.app.Activity |
activity |
protected CallbackContext |
networStateCallbackcontext |
protected CallbackContext |
wifistateCallbackcontext |
Constructor and Description |
---|
NetworkConnectivityReceiver(android.app.Activity activity) |
Modifier and Type | Method and Description |
---|---|
CallbackContext |
getNetworStateCallbackcontext() |
CallbackContext |
getWifistateCallbackcontext() |
void |
onDestroy() |
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
void |
setNetworStateCallbackcontext(CallbackContext networStateCallbackcontext) |
void |
setWifistateCallbackcontext(CallbackContext wifistateCallbackcontext) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
protected CallbackContext networStateCallbackcontext
protected android.app.Activity activity
protected CallbackContext wifistateCallbackcontext
public NetworkConnectivityReceiver(android.app.Activity activity)
public CallbackContext getNetworStateCallbackcontext()
public void setNetworStateCallbackcontext(CallbackContext networStateCallbackcontext)
public CallbackContext getWifistateCallbackcontext()
public void setWifistateCallbackcontext(CallbackContext wifistateCallbackcontext)
public void onDestroy()
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver