Android.Content.BroadcastReceiver Members

The members of Android.Content.BroadcastReceiver are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
AbortBroadcastbool. Returns the flag indicating whether or not this receiver should abort the current broadcast.
DebugUnregisterbool. Return the last value given to BroadcastReceiver.DebugUnregister.
[read-only]
IsInitialStickyBroadcastbool. 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.
[read-only]
IsOrderedBroadcastbool. Returns true if the receiver is currently processing an ordered broadcast.
ResultCodeAndroid.App.Result. Retrieve the current result code, as set by the previous receiver.
ResultDatastring. Retrieve the current result data, as set by the previous receiver.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ClearAbortBroadcast()
Clears the flag indicating that this receiver should abort the current broadcast.
GetResultExtras(bool) : Android.OS.Bundle
Retrieve the current result extra data, as set by the previous receiver.
GoAsync() : BroadcastReceiver.PendingResult
This can be called by an application in BroadcastReceiver.OnReceive(Context, Android.Content.Intent) to allow it to keep the broadcast active after returning from that function.
InvokeAbortBroadcast()
Sets the flag indicating that this receiver should abort the current broadcast; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent, System.String).
abstract
OnReceive(Context, Intent)
This method is called when the BroadcastReceiver is receiving an Intent broadcast.
PeekService(Context, Intent) : Android.OS.IBinder
Provide a binder to an already-running service.
SetOrderedHint(bool)
For internal use, sets the hint about whether this BroadcastReceiver is running in ordered mode.
SetResult(Android.App.Result, string, Android.OS.Bundle)
Change all of the result data returned from this broadcasts; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent, System.String).
SetResultExtras(Android.OS.Bundle)
Change the current result extras of this broadcast; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent, System.String).