Notification.Builder.SetDeleteIntent(PendingIntent) Method

Definition

Supply a PendingIntent to send when the notification is cleared explicitly by the user.

[Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetDeleteIntent_Landroid_app_PendingIntent_Handler")]
public virtual Android.App.Notification.Builder SetDeleteIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;", "GetSetDeleteIntent_Landroid_app_PendingIntent_Handler")>]
abstract member SetDeleteIntent : Android.App.PendingIntent -> Android.App.Notification.Builder
override this.SetDeleteIntent : Android.App.PendingIntent -> Android.App.Notification.Builder

Parameters

intent
PendingIntent

PendingIntent

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Attributes

Remarks

Supply a PendingIntent to send when the notification is cleared explicitly by the user.

See also:

Android reference for android.app.Notification.Builder.setDeleteIntent.

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