Edit

Share via


IConfirmPromptOptions interface

Options passed to a 'confirm' prompt.

Extends

Properties

bargeInAllowed

Indicates if Skype user is allowed to enter choice before the prompt finishes. The default value is true.

cancelChoice

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.

initialSilenceTimeoutInSeconds

Maximum initial silence allowed before failing the operation from the time we start the recording. The default value is 5 seconds.

interdigitTimeoutInSeconds

Maximum allowed time between dial pad digits. The default value is 1 second.

maxRetries

(Optional) maximum number of times to reprompt the user. Default value is 2.

noChoice

Overrides the default options for the 'no' choice.

yesChoice

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

Enables a third cancel choice.

cancelChoice?: IRecognitionChoice

Property Value

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

Property Value