Język

AgentTaskEvent.Builder.SetLeadingIcons(IList<Icon>) Method

Definition

Selects the icons at the start of the event.

[Android.Runtime.Register("setLeadingIcons", "(Ljava/util/List;)Landroid/agenticon/AgentTaskEvent$Builder;", "", ApiSince=37)]
public Android.AgentIcon.AgentTaskEvent.Builder SetLeadingIcons(System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> leadingIcons);
[<Android.Runtime.Register("setLeadingIcons", "(Ljava/util/List;)Landroid/agenticon/AgentTaskEvent$Builder;", "", ApiSince=37)>]
member this.SetLeadingIcons : System.Collections.Generic.IList<Android.Graphics.Drawables.Icon> -> Android.AgentIcon.AgentTaskEvent.Builder

Parameters

leadingIcons
IList<Icon>

The non-null list of icons before the event text. The list can be empty but must not contain null elements.

Returns

This builder.

Attributes

Remarks

The list is copied without cloning its icons. Building the event truncates it to MaxAllowedLeadingIcons. Icons retain their colors and can be scaled to fit; an empty list requires text or trailing icons.

Applies to