Package org.robolectric.shadows
Class ShadowBroadcastReceiver
java.lang.Object
org.robolectric.shadows.ShadowBroadcastReceiver
@Implements(android.content.BroadcastReceiver.class) public class ShadowBroadcastReceiver extends Object
-
Constructor Summary
Constructors Constructor Description ShadowBroadcastReceiver()
-
Method Summary
Modifier and Type Method 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()
-
Constructor Details
-
ShadowBroadcastReceiver
public ShadowBroadcastReceiver()
-
-
Method Details
-
abortBroadcast
-
onReceive
-
onReceive
-
goAsync
-
wentAsync
public boolean wentAsync() -
getOriginalPendingResult
-