AgentTaskUpdate.Builder.SetAgentTaskState(AgentTaskState) 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 state for the update.
[Android.Runtime.Register("setAgentTaskState", "(Landroid/agenticon/AgentTaskState;)Landroid/agenticon/AgentTaskUpdate$Builder;", "", ApiSince=37)]
public Android.AgentIcon.AgentTaskUpdate.Builder SetAgentTaskState(Android.AgentIcon.AgentTaskState? agentTaskState);
[<Android.Runtime.Register("setAgentTaskState", "(Landroid/agenticon/AgentTaskState;)Landroid/agenticon/AgentTaskUpdate$Builder;", "", ApiSince=37)>]
member this.SetAgentTaskState : Android.AgentIcon.AgentTaskState -> Android.AgentIcon.AgentTaskUpdate.Builder
Parameters
- agentTaskState
- AgentTaskState
The state to request, or null to leave the current state unchanged.
Returns
This builder.
- Attributes
Remarks
A null state in an update does not restore the default state. To restore it, submit a null request to the platform's StatusBarManager.setAgentTask method.