|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.BroadcastReceiver
roboguice.receiver.RoboBroadcastReceiver
public abstract class RoboBroadcastReceiver
To ensure proper ContextScope usage, override the handleReceive method
Constructor Summary | |
---|---|
RoboBroadcastReceiver()
|
Method Summary | |
---|---|
protected void |
handleReceive(android.content.Context context,
android.content.Intent intent)
Template method that should be overridden to handle the broadcast event Using this method ensures that the proper ContextScope is maintained before and after the execution of the receiver. |
void |
onReceive(android.content.Context context,
android.content.Intent intent)
Handles the receive event. |
Methods inherited from class android.content.BroadcastReceiver |
---|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoboBroadcastReceiver()
Method Detail |
---|
public final void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
context
- intent
- protected void handleReceive(android.content.Context context, android.content.Intent intent)
context
- intent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |