Java android.support.v4.content LocalBroadcastManager fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.content LocalBroadcastManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.content LocalBroadcastManager.

The text is from its open source code.

Method

LocalBroadcastManagergetInstance(Context context)
voidregisterReceiver(BroadcastReceiver receiver, IntentFilter filter)
Register a receive for any local broadcasts that match the given IntentFilter.
booleansendBroadcast(Intent intent)
Broadcast the given intent to all interested BroadcastReceivers.
voidsendBroadcastSync(Intent intent)
Like #sendBroadcast(Intent) , but if there are any receivers for the Intent this function will block and immediately dispatch them before returning.
voidunregisterReceiver(BroadcastReceiver receiver)
Unregister a previously registered BroadcastReceiver.