Notification.TvExtender.SetDeleteIntent(PendingIntent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當用戶在電視上明確清除通知時,會提供一個待定意圖(PendingIntent)以發送。
[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
參數
- intent
- PendingIntent
PendingIntent:針對相關通知刪除的PendingIntent。 這個值可能是 Null。
傳回
此物件用於方法鏈結。 這個值不可能為零值。
- 屬性
備註
當用戶在電視上明確清除通知時,會提供一個待定意圖(PendingIntent)以發送。 若提供,則會用來取代通知層級指定的刪除意圖。
Android 參考資料。android.app.Notification.TvExtender.setDeleteIntent
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。