Android Interview Questions and Answers What is android?


Stopping The Process Of Sending Of An Ordered Broadcast Intent



Download 0.77 Mb.
View original pdf
Page50/62
Date17.12.2020
Size0.77 Mb.
#54986
1   ...   46   47   48   49   50   51   52   53   ...   62
Android Interview Questions
8.2.1.4 Stopping The Process Of Sending Of An Ordered Broadcast Intent
A BroadcastReceiver can stop the process of sending an ordered broadcast Intent by calling the public final void abortBroadcast() method. Any BroadcastReceivers of the same priority that have not already received the Intent and all those with a lower priority than the current BroacastReceiver will not receive the Intent. Using this method when the onReceive() method has not been invoked on an ordered broadcast Intent will result in a RuntimeException, except in one situation

Download 0.77 Mb.

Share with your friends:
1   ...   46   47   48   49   50   51   52   53   ...   62




The database is protected by copyright ©ininet.org 2024
send message

    Main page