SpeechTilesAndamento Docs
Get started
Configuration Reference

Interruption Behavior

JSON type object

JSON property interruptionBehavior JSON type object

Overrides how active Conversation operations respond to application, audio, media-service, screen, and system events.

Each operation category below contains interruption event rules, not the normal configuration for that operation. Select a category to see the event rules it supports.

Behavior and notes

  • Policies merge property-by-property. Precedence is module-specific policy, then configured Conversation policy, then the framework built-in default.

Developer guidance

Interruption Behavior groups event policies by operation category. Each category contains event-named properties; background and foreground policies use the intermediate whenAudioAllowed and whenAudioNotAllowed fields.

Example in context

Illustrative JSON excerpt (not a complete configuration document):

{
  "interruptionBehavior": {
    "audioPlayback": {
      "onAudioInterruptionBegin": {
        "action": "pause"
      },
      "onAudioInterruptionEnd": {
        "action": "resume"
      }
    }
  }
}

Policies are nested under the relevant category, not placed directly on interruptionBehavior.

Properties

audioPlayback

objectOptional

Interruption policies for audio playback.

audioRecording

objectOptional

Interruption policies for audio recording.

speechRecognition

objectOptional

Interruption policies for speech recognition.

interactiveCapture

objectOptional

Interruption policies for Interactive Capture.

interactivePlayback

objectOptional

Interruption policies for Interactive Playback.