@Singleton
public class NewLocationReceiver
extends android.content.BroadcastReceiver
Constructor and Description |
---|
NewLocationReceiver(Res mRes) |
Modifier and Type | Method and Description |
---|---|
void |
onReceive(android.content.Context context,
android.content.Intent intent)
Receive a broadcast when a new location has been detected.
|
void |
setCallbackContext(org.apache.cordova.CallbackContext mCallbackContext) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
@Inject public NewLocationReceiver(Res mRes)
public void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
context
- - The context of the application.intent
- - The intent that has been fired.public void setCallbackContext(org.apache.cordova.CallbackContext mCallbackContext)