Edit

Share via


IDigitsPromptOptions interface

Options passed to a 'digits' prompt.

Extends

Properties

bargeInAllowed

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.

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.

stopTones

(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[]