Language

Notification.TvExtender.SetDeleteIntent(PendingIntent) Method

Definition

Supplies a PendingIntent to send when the notification is cleared explicitly by the user on TV.

[Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)]
public Android.App.Notification.TvExtender SetDeleteIntent(Android.App.PendingIntent? intent);
[<Android.Runtime.Register("setDeleteIntent", "(Landroid/app/PendingIntent;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)>]
member this.SetDeleteIntent : Android.App.PendingIntent -> Android.App.Notification.TvExtender

Parameters

intent
PendingIntent

PendingIntent: the PendingIntent for the associated notification deletion. This value may be null.

Returns

this object for method chaining. This value cannot be null.

Attributes

Remarks

Supplies a PendingIntent to send when the notification is cleared explicitly by the user on TV. If provided, it is used instead of the delete intent specified at the level of Notification.

Android reference for android.app.Notification.TvExtender.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