语言

Notification.BubbleMetadata.Builder.SetDeleteIntent(PendingIntent) 方法

定义

设置当用户显式删除此气泡时要发送的意向。

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

参数

deleteIntent
PendingIntent

PendingIntent:此值可能为 null。

返回

此 Android.App.Notification.BubbleMetadata.Builder 实例允许链接调用。

特性

注解

设置当用户显式删除此气泡时要发送的意向。 设置删除意向是可选的。

Android 参考。android.app.Notification.BubbleMetadata.Builder.setDeleteIntent

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于