💬

Conversation Events

Conversation Events


When you subscribe to UGSDK.ConversationManager.OnConversationEvent += HandleConversationEvent;
You can expect to get the following events, as soon as conversation state changes:
 
  • InteractionStarted - Initiated a new interaction
  • InteractionComplete - Interaction completed - no more data to receive
  • TextReceived - Received text from the conversation
  • AudioReceived - Received audio from the conversation
  • Error - Error occurred in the conversation
  • RecordingMicrophone - Microphone is recording - waiting for player to speak
  • MicrophoneSilenced - Microphone is silenced - player is done speaking
  • PlayerSpoke - Player speech detected - microphone is recording
  • LongTimeoutTriggered - No speech was detected for a long time
  • PlayingAudio - Playing audio from the conversation
  • PlayingAudioComplete - Audio playback complete
  • AuthenticationSuccessful - Authentication successful at the start of the conversation
  • Stopped - Conversation was stopped/cleared
  • ConversationPaused - Conversation was pause (ConversationManager.PauseConversation())