Class ShadowLocalBroadcastManager
java.lang.Object
org.robolectric.shadows.support.v4.ShadowLocalBroadcastManager
@Implements(android.support.v4.content.LocalBroadcastManager.class) public class ShadowLocalBroadcastManager extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowLocalBroadcastManager.Wrapper
-
Constructor Summary
Constructors Constructor Description ShadowLocalBroadcastManager()
-
Method Summary
Modifier and Type Method Description protected static android.support.v4.content.LocalBroadcastManager
getInstance(Context context)
List<ShadowLocalBroadcastManager.Wrapper>
getRegisteredBroadcastReceivers()
List<Intent>
getSentBroadcastIntents()
protected void
registerReceiver(BroadcastReceiver receiver, IntentFilter filter)
protected boolean
sendBroadcast(Intent intent)
protected void
unregisterReceiver(BroadcastReceiver receiver)
-
Constructor Details
-
ShadowLocalBroadcastManager
public ShadowLocalBroadcastManager()
-
-
Method Details
-
getInstance
@Implementation protected static android.support.v4.content.LocalBroadcastManager getInstance(Context context) -
registerReceiver
-
unregisterReceiver
-
sendBroadcast
-
getSentBroadcastIntents
-
getRegisteredBroadcastReceivers
-