CollectAction
Returned from call.playAndCollect().
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
controlId are ignored, so await action.wait() returns only when input
collection completes.
Inherits all properties and methods from the
base Action interface (controlId,
isDone, 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.
startInputTimers
Manually start the initial_timeout timer on an active collect.