| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Gather.Builder |
action(String action)
Action URL
|
Gather.Builder |
action(URI action)
Action URL
|
Gather.Builder |
bargeIn(Boolean bargeIn)
Stop playing media upon speech
|
Gather |
build()
Create and return resulting
<Gather> element |
Gather.Builder |
finishOnKey(String finishOnKey)
Finish gather on key
|
Gather.Builder |
hints(String hints)
Speech recognition hints
|
Gather.Builder |
input(Gather.Input input)
Input type Twilio should accept
|
Gather.Builder |
language(Gather.Language language)
Language to use
|
Gather.Builder |
maxSpeechTime(Integer maxSpeechTime)
Max allowed time for speech input
|
Gather.Builder |
method(HttpMethod method)
Action URL method
|
Gather.Builder |
numDigits(Integer numDigits)
Number of digits to collect
|
Gather.Builder |
option(String key,
String value)
Set additional attributes on this TwiML element that will appear in generated
XML.
|
Gather.Builder |
partialResultCallback(String partialResultCallback)
Partial result callback URL
|
Gather.Builder |
partialResultCallback(URI partialResultCallback)
Partial result callback URL
|
Gather.Builder |
partialResultCallbackMethod(HttpMethod partialResultCallbackMethod)
Partial result callback URL method
|
Gather.Builder |
pause(Pause pause)
Add a child
<Pause> element |
Gather.Builder |
play(Play play)
Add a child
<Play> element |
Gather.Builder |
profanityFilter(Boolean profanityFilter)
Profanity Filter on speech
|
Gather.Builder |
say(Say say)
Add a child
<Say> element |
Gather.Builder |
speechTimeout(String speechTimeout)
Time to wait to gather speech input and it should be either auto or a
positive integer.
|
Gather.Builder |
timeout(Integer timeout)
Time to wait to gather input
|
public Gather.Builder input(Gather.Input input)
public Gather.Builder action(URI action)
public Gather.Builder action(String action)
public Gather.Builder method(HttpMethod method)
public Gather.Builder timeout(Integer timeout)
public Gather.Builder speechTimeout(String speechTimeout)
public Gather.Builder maxSpeechTime(Integer maxSpeechTime)
public Gather.Builder profanityFilter(Boolean profanityFilter)
public Gather.Builder finishOnKey(String finishOnKey)
public Gather.Builder numDigits(Integer numDigits)
public Gather.Builder partialResultCallback(URI partialResultCallback)
public Gather.Builder partialResultCallback(String partialResultCallback)
public Gather.Builder partialResultCallbackMethod(HttpMethod partialResultCallbackMethod)
public Gather.Builder language(Gather.Language language)
public Gather.Builder hints(String hints)
public Gather.Builder bargeIn(Boolean bargeIn)
public Gather.Builder say(Say say)
<Say> elementpublic Gather.Builder pause(Pause pause)
<Pause> elementpublic Gather.Builder play(Play play)
<Play> elementpublic Gather.Builder option(String key, String value)
public Gather build()
<Gather> elementCopyright © 2016 Twilio, Inc. All Rights Reserved.