語言

Notification.ContentIntent 屬性

定義

當點擊展開狀態條目時,意圖執行。

[Android.Runtime.Register("contentIntent")]
public Android.App.PendingIntent? ContentIntent { get; set; }
[<Android.Runtime.Register("contentIntent")>]
member this.ContentIntent : Android.App.PendingIntent with get, set

屬性值

屬性

備註

當點擊展開狀態條目時,意圖執行。 如果這是一項活動,必須包含Intent.FLAG_ACTIVITY_NEW_TASK標誌,這要求你按照任務與後堆文件中描述的任務管理。 特別是,務必閱讀「從通知開始活動」頁面,了解如何從通知啟動應用程式的正確方法。

Android 參考資料。android.app.Notification.contentIntent

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

適用於