IConfirmPromptOptions interface
Options passed to a 'confirm' prompt.
- Extends
Properties
| barge |
Indicates if Skype user is allowed to enter choice before the prompt finishes. The default value is true. |
| cancel |
Enables a third cancel choice. |
| 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. |
| no |
Overrides the default options for the 'no' choice. |
| yes |
Overrides the default options for the 'yes' choice. |
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
cancelChoice
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
noChoice
Overrides the default options for the 'no' choice.
noChoice?: IRecognitionChoice
Property Value
yesChoice
Overrides the default options for the 'yes' choice.
yesChoice?: IRecognitionChoice