PendingIntent Class

Definition

A description of an Intent and target action to perform with it.

[Android.Runtime.Register("android/app/PendingIntent", DoNotGenerateAcw=true)]
public sealed class PendingIntent : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/app/PendingIntent", DoNotGenerateAcw=true)>]
type PendingIntent = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
PendingIntent
Attributes
Implements

Remarks

Java documentation for android.app.PendingIntent.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

FlagMutable

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Creator
CreatorPackage

Return the package name of the application that created this PendingIntent, that is the identity under which you will actually be sending the Intent.

CreatorUid

Return the uid of the application that created this PendingIntent, that is the identity under which you will actually be sending the Intent.

CreatorUserHandle

Return the user handle of the application that created this PendingIntent, that is the user under which you will actually be sending the Intent.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
IntentSender

Retrieve a IntentSender object that wraps the existing sender of the PendingIntent

IsActivity
IsBroadcast
IsForegroundService
IsImmutable

Check if this PendingIntent is marked with #FLAG_IMMUTABLE.

IsService
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
TargetPackage
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Cancel()

Cancel a currently active PendingIntent.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetActivities(Context, Int32, Intent[], PendingIntentFlags)

Like #getActivity(Context, int, Intent, int), but allows an array of Intents to be supplied.

GetActivities(Context, Int32, Intent[], PendingIntentFlags, Bundle)

Like #getActivity(Context, int, Intent, int), but allows an array of Intents to be supplied.

GetActivity(Context, Int32, Intent, PendingIntentFlags)

Retrieve a PendingIntent that will start a new activity, like calling Context#startActivity(Intent) Context.startActivity(Intent).

GetActivity(Context, Int32, Intent, PendingIntentFlags, Bundle)

Retrieve a PendingIntent that will start a new activity, like calling Context#startActivity(Intent) Context.startActivity(Intent).

GetBroadcast(Context, Int32, Intent, PendingIntentFlags)

Retrieve a PendingIntent that will perform a broadcast, like calling Context#sendBroadcast(Intent) Context.sendBroadcast().

GetForegroundService(Context, Int32, Intent, PendingIntentFlags)

Retrieve a PendingIntent that will start a foreground service, like calling Context#startForegroundService Context.startForegroundService().

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetService(Context, Int32, Intent, PendingIntentFlags)

Retrieve a PendingIntent that will start a service, like calling Context#startService Context.startService().

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
ReadPendingIntentOrNullFromParcel(Parcel)

Convenience function for reading either a PendingIntent or null pointer from a Parcel.

Send()

Perform the operation associated with this PendingIntent.

Send(Context, Result, Intent)

Perform the operation associated with this PendingIntent, allowing the caller to specify information about the Intent to use.

Send(Context, Result, Intent, PendingIntent+IOnFinished, Handler)

Perform the operation associated with this PendingIntent.

Send(Context, Result, Intent, PendingIntent+IOnFinished, Handler, String)

Perform the operation associated with this PendingIntent.

Send(Context, Result, Intent, PendingIntent+IOnFinished, Handler, String, Bundle)

Perform the operation associated with this PendingIntent.

Send(Result)

Perform the operation associated with this PendingIntent.

Send(Result, PendingIntent+IOnFinished, Handler)

Perform the operation associated with this PendingIntent.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until either another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object, or a specified amount of time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.

(Inherited from Object)
WritePendingIntentOrNullToParcel(PendingIntent, Parcel)

Convenience function for writing either a PendingIntent or null pointer to a Parcel.

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to