Search…
Programmatic Conversations
Invoking the Assistant programmatically
Sometimes the app might want to launch the Slang Voice Assistant on its own, without the user explicitly launching it via the Trigger. This could be achieved by calling the startConversation API and passing the name of theUserJourney that is to be launched. The Assistant will speak out the greeting message associated with that user journey in that case.
Android Native
Flutter
1
SlangRetailAssistant.startConversation(AssistantUserJourney.SEARCH);
Copied!
1
SlangRetailAssistant.startConversation(AssistantUserJourney.SEARCH);
Copied!
Last modified 3mo ago
Copy link