SpeechTilesAndamento Docs
Get started
Guide

Getting Started with STConversationRunner

STConversationRunner is the application-facing orchestration layer for a SpeechTiles conversation. Use it when the application wants the framework to execute a declarative Conversation rather than manually coordinate individual playback, recording, and recognition operations through STMediaRunner.

A typical application:

  1. creates a runner and initializes it;
  2. registers an STConversationCallback;
  3. configures the audio environment and permissions;
  4. sets resource locations and resource language;
  5. loads prompt/configuration resources and a Conversation;
  6. supplies runtime fields or user intent when needed; and
  7. starts the Conversation with runConversation().

Initialization is layered intentionally. STConversationRunner.initialize() initializes the shared media runner and the media components required by the conversation runtime; configuration and resources remain explicit so the application retains control over deployment, localization, and runtime state.