Notification.Builder.SetActions(Notification+Action[]) Method

Definition

Alter the complete list of actions attached to this notification.

[Android.Runtime.Register("setActions", "([Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;", "GetSetActions_arrayLandroid_app_Notification_Action_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetActions(params Android.App.Notification.Action[]? actions);
[<Android.Runtime.Register("setActions", "([Landroid/app/Notification$Action;)Landroid/app/Notification$Builder;", "GetSetActions_arrayLandroid_app_Notification_Action_Handler", ApiSince=24)>]
abstract member SetActions : Android.App.Notification.Action[] -> Android.App.Notification.Builder
override this.SetActions : Android.App.Notification.Action[] -> Android.App.Notification.Builder

Parameters

actions
Notification.Action[]

Action

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Attributes

Remarks

Alter the complete list of actions attached to this notification.

See also:

Android reference for android.app.Notification.Builder.setActions.

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.

Applies to