SpeechTilesAndamento Docs
Get started
Guide

STConversationRunner Integration Checklist

Use this checklist when integrating STConversationRunner into an application. Items marked when applicable depend on the conversation and media features used.

Application setup

  • ☐ Add the Andamento framework and required resources to the application target.
  • ☐ Add NSMicrophoneUsageDescription and NSSpeechRecognitionUsageDescription when requesting the corresponding permissions; provide clear user-facing explanations.
  • ☐ For a sandboxed macOS app that records audio, enable App Sandbox → Hardware → Audio Input.
  • ☐ Request required permissions using requestMicrophonePermission and requestSpeechRecognitionPermission, and handle granted/denied outcomes.

Runner initialization and configuration

Execution and callbacks

  • ☐ Supply initial values using setRuntimeField where required; configuration references these as $[FieldName].
  • ☐ Call runConversation only after required configuration and resources are ready.
  • ☐ Make time-sensitive callback decisions synchronously; for example, call setUserIntent during speech-recognition callback processing when immediate intent handling is needed.
  • ☐ Handle completion, failure, interruption and stop through the relevant callbacks. An accepted asynchronous request is not proof of completion.
  • ☐ Use stopConversation, pauseConversation, resumeConversation, and interruptConversation only in their supported lifecycle states.

Validation before release

  • ☐ Test first-run permission prompts and denied permissions.
  • ☐ Test missing or malformed configuration files and absent media resources.
  • ☐ Test the default en-US resource folder and parent-directory fallback for file-based resources.
  • ☐ Test normal completion, retry paths, user-intent transitions, interruption, stop, and repeat execution.
  • ☐ Test barge-in and echo behavior on each supported platform and audio route if used.
  • ☐ Review iOS background-audio restrictions if the app enables background behavior.

See Architecture, Configuration and Runtime, and Your First Conversation for context and examples.