語言

Notification.Actions 屬性

定義

由 Builder.addAction(int,CharSequence,PendingIntent) 附加的所有動作結構陣列。

[Android.Runtime.Register("actions")]
public System.Collections.Generic.IList<Android.App.Notification.Action>? Actions { get; set; }
[<Android.Runtime.Register("actions")>]
member this.Actions : System.Collections.Generic.IList<Android.App.Notification.Action> with get, set

屬性值

屬性

備註

由 Builder.addAction(int,CharSequence,PendingIntent) 附加的所有動作結構陣列。 主要用於 NotificationListenerService 的實例,提供替代介面來呼叫動作。

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

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

適用於