AgentTaskEvent.Builder.SetLeadingIcons(IList<Icon>) Method
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.
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
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.