CollectAction
Returned from call.play_and_collect().
Tracks a combined play-and-collect operation where a prompt is played and user
input (digits or speech) is collected. Terminal states: finished, error,
no_input, no_match.
CollectAction only resolves on collect events. Play events sharing the same
control_id are ignored, so await action.wait() returns only when input
collection completes.
Inherits all properties and methods from the
base Action interface (control_id,
is_done, completed, result, wait()).
Properties
No additional properties beyond the base Action interface.
Methods
stop
Stop the play-and-collect operation.
volume
Adjust the prompt playback volume during a play-and-collect operation.
start_input_timers
Manually start the initial_timeout timer on an active collect.