<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#abortBroadcast()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">abortBroadcast</a></span>()</nobr>
Sets the flag indicating that this receiver should abort the current broadcast; only works with broadcasts sent through
Context.sendOrderedBroadcast .
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#clearAbortBroadcast()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">clearAbortBroadcast</a></span>()</nobr>
Clears the flag indicating that this receiver should abort the current broadcast.
|
<nobr style="line-height:21px">final boolean</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#getAbortBroadcast()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">getAbortBroadcast</a></span>()</nobr>
Returns the flag indicating whether or not this receiver should abort the current broadcast.
|
<nobr style="line-height:21px">final boolean</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#getDebugUnregister()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">getDebugUnregister</a></span>()</nobr>
Return the last value given to
setDebugUnregister(boolean) .
|
<nobr style="line-height:21px">final int</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#getResultCode()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">getResultCode</a></span>()</nobr>
Retrieve the current result code, as set by the previous receiver.
|
<nobr style="line-height:21px">final<a rel="nofollow" href="http://developer.android.com/reference/java/lang/String.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">String</a></nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#getResultData()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">getResultData</a></span>()</nobr>
Retrieve the current result data, as set by the previous receiver.
|
<nobr style="line-height:21px">final<a rel="nofollow" href="http://developer.android.com/reference/android/os/Bundle.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Bundle</a></nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#getResultExtras(boolean)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">getResultExtras</a></span>(boolean makeMap)</nobr>
Retrieve the current result extra data, as set by the previous receiver.
|
<nobr style="line-height:21px">final<a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.PendingResult.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">BroadcastReceiver.PendingResult</a></nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#goAsync()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">goAsync</a></span>()</nobr>
This can be called by an application in
onReceive(Context, Intent) to allow it to keep the broadcast active after returning from that function.
|
<nobr style="line-height:21px">final boolean</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#isInitialStickyBroadcast()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">isInitialStickyBroadcast</a></span>()</nobr>
Returns true if the receiver is currently processing the initial value of a sticky broadcast -- that is, the value that was last broadcast and is currently held in the sticky cache, so this is not directly the result of a broadcast right now.
|
<nobr style="line-height:21px">final boolean</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#isOrderedBroadcast()" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">isOrderedBroadcast</a></span>()</nobr>
Returns true if the receiver is currently processing an ordered broadcast.
|
<nobr style="line-height:21px">abstract void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#onReceive(android.content.Context,%20android.content.Intent)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">onReceive</a></span>(<a rel="nofollow" href="http://developer.android.com/reference/android/content/Context.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Context</a>context,<a rel="nofollow" href="http://developer.android.com/reference/android/content/Intent.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Intent</a>intent)</nobr>
This method is called when the BroadcastReceiver is receiving an Intent broadcast.
|
<nobr style="line-height:21px"><a rel="nofollow" href="http://developer.android.com/reference/android/os/IBinder.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">IBinder</a></nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#peekService(android.content.Context,%20android.content.Intent)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">peekService</a></span>(<a rel="nofollow" href="http://developer.android.com/reference/android/content/Context.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Context</a>myContext,<a rel="nofollow" href="http://developer.android.com/reference/android/content/Intent.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Intent</a>service)</nobr>
Provide a binder to an already-running service.
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setDebugUnregister(boolean)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setDebugUnregister</a></span>(boolean debug)</nobr>
Control inclusion of debugging help for mismatched calls to {@ Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver()}.
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setOrderedHint(boolean)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setOrderedHint</a></span>(boolean isOrdered)</nobr>
For internal use, sets the hint about whether this BroadcastReceiver is running in ordered mode.
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setResult(int,%20java.lang.String,%20android.os.Bundle)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setResult</a></span>(int code,<a rel="nofollow" href="http://developer.android.com/reference/java/lang/String.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">String</a>data,<a rel="nofollow" href="http://developer.android.com/reference/android/os/Bundle.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Bundle</a>extras)</nobr>
Change all of the result data returned from this broadcasts; only works with broadcasts sent through
Context.sendOrderedBroadcast .
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setResultCode(int)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setResultCode</a></span>(int code)</nobr>
Change the current result code of this broadcast; only works with broadcasts sent through
Context.sendOrderedBroadcast .
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setResultData(java.lang.String)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setResultData</a></span>(<a rel="nofollow" href="http://developer.android.com/reference/java/lang/String.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">String</a>data)</nobr>
Change the current result data of this broadcast; only works with broadcasts sent through
Context.sendOrderedBroadcast .
|
<nobr style="line-height:21px">final void</nobr> | <nobr style="line-height:21px"><span style="line-height:21px; margin-right:2px"><a rel="nofollow" href="http://developer.android.com/reference/android/content/BroadcastReceiver.html#setResultExtras(android.os.Bundle)" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">setResultExtras</a></span>(<a rel="nofollow" href="http://developer.android.com/reference/android/os/Bundle.html" style="color:rgb(0,102,153); line-height:21px; text-decoration:none">Bundle</a>extras)</nobr>
Change the current result extras of this broadcast; only works with broadcasts sent through
Context.sendOrderedBroadcast .
|