ultimate void notifyAll() Wakes up all threads that are ready on this object’s monitor. abstract void sendOrderedBroadcast Version of sendBroadcast(android.content material.Intent) that lets you obtain information back from the broadcast. void sendBroadcastWithMultiplePermissions(Intent intent, String receiverPermissions) Broadcast the given intent to all involved BroadcastReceivers, permitting an array of required permissions to be enforced. summary void sendBroadcastAsUser Version of sendBroadcast(android.content.Intent, java.lang.String) that permits you to specify the user the published shall be sent to. summary void sendBroadcastAsUser Version of sendBroadcast(android.content.Intent) that allows you to specify the person the printed shall be sent to. abstract void sendBroadcast Broadcast the given intent to all fascinated BroadcastReceivers. summary Intent registerReceiver Register to obtain intent broadcasts, to run in the context of scheduler.
Preferably, you should implement ComponentCallbacks2#onTrimMemory from ComponentCallbacks2 to incrementally unload your assets based mostly on various levels of memory demands. You ought to implement this method to launch any caches or other pointless assets you could be holding on to. The system will carry out a garbage assortment for you after coming back from this method. If you override this technique, remember to name tremendous.onCreate(). summary void onConfigurationChanged Called by the system when the device configuration changes while your component is running.