Језик

AgentTaskState.Builder.Build Method

Definition

Creates the AgentTaskState instance.

[Android.Runtime.Register("build", "()Landroid/agenticon/AgentTaskState;", "", ApiSince=37)]
public Android.AgentIcon.AgentTaskState Build();
[<Android.Runtime.Register("build", "()Landroid/agenticon/AgentTaskState;", "", ApiSince=37)>]
member this.Build : unit -> Android.AgentIcon.AgentTaskState

Returns

A new state containing the current builder settings.

Attributes

Remarks

The state validates the icon, description, and optional activity action. Oversized icons are scaled down during construction; this method does not submit the state to the status bar.

Applies to