Android.App.PendingIntentFlags.CancelCurrent Field
Flag for use with PendingIntent.GetActivity(Android.Content.Context, System.Int32, System.Int32, System.Int32), PendingIntent.GetBroadcast(Android.Content.Context, System.Int32, System.Int32, System.Int32), and PendingIntent.GetService(Android.Content.Context, System.Int32, System.Int32, System.Int32): if the described PendingIntent already exists, the current one is canceled before generating a new one. You can use this to retrieve a new PendingIntent when you are only changing the extra data in the Intent; by canceling the previous pending intent, this ensures that only entities given the new data will be able to launch it. If this assurance is not an issue, consider PendingIntentFlags.UpdateCurrent.

Syntax

PendingIntentFlags CancelCurrent

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0