语言

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

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于