Notification.Actions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Array of all Action structures attached to this notification by 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
Property Value
A fixed-size view of the native action array, or null if no array is set.
- Attributes
Remarks
The returned list is backed by the native action array. Its elements can be replaced, but its size cannot be changed. This property is mostly useful for instances of NotificationListenerService that provide an alternative interface for invoking actions.
Android reference for android.app.Notification.actions.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.