Share via


PendingIntent.Cancel Method

Definition

Cancel a currently active PendingIntent.

[Android.Runtime.Register("cancel", "()V", "")]
public void Cancel ();
[<Android.Runtime.Register("cancel", "()V", "")>]
member this.Cancel : unit -> unit
Attributes

Remarks

Cancel a currently active PendingIntent. Only the original application owning a PendingIntent can cancel it.

Java documentation for android.app.PendingIntent.cancel().

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.

Applies to