IDigitsPromptOptions interface
Options passed to a 'digits' prompt.
- Extends
Properties
| barge |
Indicates if Skype user is allowed to enter choice before the prompt finishes. The default value is true. |
| culture | Culture is an enum indicating what culture the speech recognizer should use. The default value is “en-US”. Currently the only culture supported is en-US. |
| initial |
Maximum initial silence allowed before failing the operation from the time we start the recording. The default value is 5 seconds. |
| interdigit |
Maximum allowed time between dial pad digits. The default value is 1 second. |
| max |
(Optional) maximum number of times to reprompt the user. Default value is 2. |
| stop |
(Optional) stop tones used to terminate the digit collection. |
Property Details
bargeInAllowed
Indicates if Skype user is allowed to enter choice before the prompt finishes. The default value is true.
bargeInAllowed?: boolean
Property Value
boolean
culture
Culture is an enum indicating what culture the speech recognizer should use. The default value is “en-US”. Currently the only culture supported is en-US.
culture?: string
Property Value
string
initialSilenceTimeoutInSeconds
Maximum initial silence allowed before failing the operation from the time we start the recording. The default value is 5 seconds.
initialSilenceTimeoutInSeconds?: number
Property Value
number
interdigitTimeoutInSeconds
Maximum allowed time between dial pad digits. The default value is 1 second.
interdigitTimeoutInSeconds?: number
Property Value
number
maxRetries
(Optional) maximum number of times to reprompt the user. Default value is 2.
maxRetries?: number
Property Value
number
stopTones
(Optional) stop tones used to terminate the digit collection.
stopTones?: string[]
Property Value
string[]