Share via


ConversationalAgentState Enum

Definition

Specifies each possible AgentState for a digital assistant.

public enum class ConversationalAgentState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
enum class ConversationalAgentState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
public enum ConversationalAgentState
var value = Windows.ApplicationModel.ConversationalAgent.ConversationalAgentState.inactive
Public Enum ConversationalAgentState
Inheritance
ConversationalAgentState
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Fields

Name Value Description
Inactive 0

The ConversationalAgent is not actively processing input or speaking to the user.

Detecting 1

The ConversationalAgent is verifying the activation signal that activated it.

Listening 2

The ConversationalAgent is actively processing input.

Working 3

The ConversationalAgent is acting on the user's input and awaiting an outcome to continue the agent interaction.

Speaking 4

The ConversationalAgent is actively speaking to the user.

ListeningAndSpeaking 5

The ConversationalAgent is concurrently processing input and speaking to the user.

Applies to

See also