Uses of Class
com.sinch.sdk.domains.voice.models.v2.helpers.PromptCreator
Packages that use PromptCreator
Package
Description
Helpers to build Voice V2 payloads
Call destinations and origins:
Destination
SVAML commands: Calls, Amd, Messages, Recording
Custom events and menus: CustomEvents and Menu
Command sequences: CommandsSequenceCreator
Service call behaviors: CallBehaviorHelper
Sinch Event responses: SinchEventResponses
-
Uses of PromptCreator in com.sinch.sdk.domains.voice.models.v2.helpers
Methods in com.sinch.sdk.domains.voice.models.v2.helpers that return PromptCreatorModifier and TypeMethodDescriptionPromptCreator.allowBargeIn(boolean allowBargeIn) Set whether user input interrupts the prompt.Add an audio file to playAdd a text-to-speech message in SSMLAdd a text-to-speech message in SSMLAdd a text-to-speech message in plain textAdd a text-to-speech message in plain textMethod parameters in com.sinch.sdk.domains.voice.models.v2.helpers with type arguments of type PromptCreatorModifier and TypeMethodDescriptionstatic MenuPromptMenu.prompt(Consumer<PromptCreator> prompt) Create a menu prompt, e.g.MenuItemCreator.prompt(Consumer<PromptCreator> prompt) Set the prompt played when the menu starts.MenuItemCreator.repeatPrompt(Consumer<PromptCreator> repeatPrompt) Set the prompt played when the menu is repeated, after a timeout or an input that does not match.