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