語言

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:此值可能是空值。

傳回

這個 Android.App.Notification.BubbleMetadata.Builder 實例,允許通話串接。

屬性

備註

當使用者明確移除此泡泡時,設定發送意圖。 設定刪除意圖是可選的。

Android 參考資料。android.app.Notification.BubbleMetadata.Builder.setDeleteIntent

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於