Choose an SDK
SpeechTiles Andamento offers two complementary application-facing Swift runtimes. Choose based on whether you want the SDK to execute a configured conversation or your app to control media operations directly.
Choose STConversationRunner for conversational workflows
Use it when the application needs a declarative Conversation Configuration Reference to orchestrate prompts, speech recognition, runtime data, and transitions. Your app loads configuration with methods such as loadConversation (URL) and loadAudioPromptModules (URL), supplies data with setRuntimeField, routes recognized input with setUserIntent, receives STConversationCallback events, and starts execution with runConversation.
Typical fit: guided dialogs, multi-step voice forms, and workflows whose behavior should be maintained as configuration rather than hard-coded sequencing.
Choose STMediaRunner for direct media operations
Use it when your app controls playback, recording, speech synthesis, or speech recognition itself and does not need declarative conversation transitions. The STMediaRunner API reference covers media operations, typed parameters, and events.
Typical fit: an audio utility, a custom media experience, or an application that already owns its dialog and state machine.
How they fit together
STConversationRunner orchestrates media functionality built on STMediaRunner. Start with the higher-level runner if you need configured conversations; consult the lower-level media reference for detailed media behavior. You do not need to instantiate both runners just to execute a Conversation.
What to review before integration
- Conversation structure and transitions: Conversation Configuration Reference.
- Reusable prompts and audio resources: Prompt Module Configuration Reference and Audio Resource to Text Mapping.
- Lifecycle and callbacks: STConversationRunner overview and STConversationCallback.
- Direct media APIs and platform requirements: STMediaRunner overview and Integration Checklist.
Start with the STConversationRunner quick start or STMediaRunner quick start based on your choice.