@Implements(value=android.content.BroadcastReceiver.class) public class ShadowBroadcastReceiver extends Object
Constructor and Description |
---|
ShadowBroadcastReceiver() |
Modifier and Type | Method and Description |
---|---|
protected void |
abortBroadcast() |
BroadcastReceiver.PendingResult |
getOriginalPendingResult() |
protected BroadcastReceiver.PendingResult |
goAsync() |
protected void |
onReceive(Context context,
Intent intent) |
void |
onReceive(Context context,
Intent intent,
AtomicBoolean abort) |
boolean |
wentAsync() |
@Implementation protected void abortBroadcast()
@Implementation protected void onReceive(Context context, Intent intent)
public void onReceive(Context context, Intent intent, AtomicBoolean abort)
@Implementation protected BroadcastReceiver.PendingResult goAsync()
public boolean wentAsync()
public BroadcastReceiver.PendingResult getOriginalPendingResult()