AgentTaskState.Builder.Build 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.
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.