Language

Notification.MediaStyle.SetShowActionsInCompactView(Int32[]) Method

Definition

Request up to 3 actions (by index in the order of addition) to be shown in the compact notification view.

[Android.Runtime.Register("setShowActionsInCompactView", "([I)Landroid/app/Notification$MediaStyle;", "GetSetShowActionsInCompactView_arrayIHandler")]
public virtual Android.App.Notification.MediaStyle? SetShowActionsInCompactView(params int[]? actions);
[<Android.Runtime.Register("setShowActionsInCompactView", "([I)Landroid/app/Notification$MediaStyle;", "GetSetShowActionsInCompactView_arrayIHandler")>]
abstract member SetShowActionsInCompactView : int[] -> Android.App.Notification.MediaStyle
override this.SetShowActionsInCompactView : int[] -> Android.App.Notification.MediaStyle

Parameters

actions
Int32[]

int: the indices of the actions to show in the compact notification view

Returns

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

Attributes

Remarks

Request up to 3 actions (by index in the order of addition) to be shown in the compact notification view.

Android reference for android.app.Notification.MediaStyle.setShowActionsInCompactView.

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