PendingIntent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |
| 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 |
| 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 |
| GetActivities(Context, Int32, Intent[], PendingIntentFlags, Bundle) |
Like |
| GetActivity(Context, Int32, Intent, PendingIntentFlags) |
Retrieve a PendingIntent that will start a new activity, like calling
|
| GetActivity(Context, Int32, Intent, PendingIntentFlags, Bundle) |
Retrieve a PendingIntent that will start a new activity, like calling
|
| GetBroadcast(Context, Int32, Intent, PendingIntentFlags) |
Retrieve a PendingIntent that will perform a broadcast, like calling
|
| GetForegroundService(Context, Int32, Intent, PendingIntentFlags) |
Retrieve a PendingIntent that will start a foreground service, like calling
|
| 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
|
| 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
|
| Wait(Int64) |
Causes the current thread to wait until either another thread invokes the
|
| Wait(Int64, Int32) |
Causes the current thread to wait until another thread invokes the
|
| 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) | |