AudioPlaybackOptions

hello guys,
I'm using in architect the function audioPlaybackOptions to play "flash message".
I have noticed that I can skip the prompt pressing one of the phone key board.
Is it a standard behaviour? I didn't find any info in the doc.
Thanks
Davide

That's what the bargeIn parameter does. If barge in is allowed, if the caller says or presses something while the audio is playing, the rest of the audio is skipped and the flow moves on. If barge is in not allowed, the audio keeps playing until finished.

Ciao Melissa, thank you so much for your very quick reply.
So that means:

  • if I have: AudioPlaybackOptions(ToAudio(PROMPT), true) --> I can skip
  • if I have: AudioPlaybackOptions(ToAudio(PROMPT), false) --> I cannot skip

Is it correct?
Thanks again for your help
Davide

Yes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.