語言

Notification.Builder.SetDeleteIntent(PendingIntent) 方法

定義

提供一個待定意圖(PendingIntent),當通知被使用者明確清除時發送。

[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

參數

intent
PendingIntent

待定意圖

傳回

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

屬性

備註

提供一個待定意圖(PendingIntent),當通知被使用者明確清除時發送。

另請參閱:

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

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

適用於