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