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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidabortBroadcast()BroadcastReceiver.PendingResultgetOriginalPendingResult()protected BroadcastReceiver.PendingResultgoAsync()protected voidonReceive(Context context, Intent intent)voidonReceive(Context context, Intent intent, AtomicBoolean abort)booleanwentAsync()
-
-
-
Method Detail
-
abortBroadcast
@Implementation protected void abortBroadcast()
-
onReceive
@Implementation protected void onReceive(Context context, Intent intent)
-
onReceive
public void onReceive(Context context, Intent intent, AtomicBoolean abort)
-
goAsync
@Implementation protected BroadcastReceiver.PendingResult goAsync()
-
wentAsync
public boolean wentAsync()
-
getOriginalPendingResult
public BroadcastReceiver.PendingResult getOriginalPendingResult()
-
-