Relay.Calling.PromptAction
This object returned from one of asynchronous prompt methods that represents a prompt attempt that is currently active on a call.
Properties
Methods
stop
Stop the action immediately.
Parameters
None
Returns
Promise<StopResult> - Promise object that will be fulfilled with a Relay.Calling.StopResult object.
Examples
Ask user to enter a PIN and force-stop the action after 5 seconds.
volume
Control the volume of the playback.
Parameters
Returns
Promise<PromptVolumeResult> - Promise object that will be fulfilled with a Relay.Calling.PromptVolumeResult object.
Examples
Start the prompt and increase the playback volume.