@Implements(value=android.support.v4.content.LocalBroadcastManager.class) public class ShadowLocalBroadcastManager extends 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(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()