AgentState

What an AgentParticipant is doing right now, as the agent service reports it.

Delivered by onAgentStateChanged and readable at any time from AgentParticipant.getAgentState. A state the SDK does not recognise is reported as IDLE.

Entries

Link copied to clipboard

In the room but not in a turn. The starting value, and the fallback for an unknown state.

Link copied to clipboard

Playing its reply into the room.

Link copied to clipboard

Working out its reply; nothing is audible yet.

Link copied to clipboard

Taking in audio from the room.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.