Example usage for Java android.support.v4.content LocalBroadcastManager fields, constructors, methods, implement or subclass
The text is from its open source code.
LocalBroadcastManager | getInstance(Context context) |
void | registerReceiver(BroadcastReceiver receiver, IntentFilter filter) Register a receive for any local broadcasts that match the given IntentFilter. |
boolean | sendBroadcast(Intent intent) Broadcast the given intent to all interested BroadcastReceivers. |
void | sendBroadcastSync(Intent intent) Like #sendBroadcast(Intent) , but if there are any receivers for the Intent this function will block and immediately dispatch them before returning. |
void | unregisterReceiver(BroadcastReceiver receiver) Unregister a previously registered BroadcastReceiver. |