SpeechRecognizerTimeouts
SpeechRecognizerTimeouts
SpeechRecognizerTimeouts
SpeechRecognizerTimeouts
Class
Definition
The timespan that a speech recognizer ignores silence or unrecognizable sounds (babble) and continues listening for speech input.
public : sealed class SpeechRecognizerTimeouts : ISpeechRecognizerTimeoutspublic sealed class SpeechRecognizerTimeouts : ISpeechRecognizerTimeoutsPublic NotInheritable Class SpeechRecognizerTimeouts Implements ISpeechRecognizerTimeouts// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
An app retrieves this object through the SpeechRecognizer.Timeouts property.
The recognizer finalizes each operation when the specified time span elapses.
InitialSilenceTimeout and EndSilenceTimeout both relate to silence, but have different uses. While EndSilenceTimeout applies if speech input has already occurred, InitialSilenceTimeout applies if no speech input is received at all.
Properties
BabbleTimeout BabbleTimeout BabbleTimeout BabbleTimeout
Gets and sets the length of time that a SpeechRecognizer continues to listen while receiving unrecognizable sounds (babble) before it assumes speech input has ended and finalizes the recognition operation.
public : TimeSpan BabbleTimeout { get; set; }public TimeSpan BabbleTimeout { get; set; }Public ReadWrite Property BabbleTimeout As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The length of time that the speech recognizer continues to listen while detecting only non-speech input such as background noise. The default is 0 seconds (not activated).
- See Also
EndSilenceTimeout EndSilenceTimeout EndSilenceTimeout EndSilenceTimeout
Gets and sets the length of time, after recognition results have been generated, that a SpeechRecognizer detects silence and assumes speech input has ended.
public : TimeSpan EndSilenceTimeout { get; set; }public TimeSpan EndSilenceTimeout { get; set; }Public ReadWrite Property EndSilenceTimeout As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The length of time that the speech recognizer continues to listen while detecting only silence. The default is 150 milliseconds.
- See Also
InitialSilenceTimeout InitialSilenceTimeout InitialSilenceTimeout InitialSilenceTimeout
Gets and sets the length of time, before any recognition results have been generated, that a SpeechRecognizer detects silence and assumes speech input has ended.
public : TimeSpan InitialSilenceTimeout { get; set; }public TimeSpan InitialSilenceTimeout { get; set; }Public ReadWrite Property InitialSilenceTimeout As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The length of time that the speech recognizer continues to listen while detecting only silence. The default is 5 seconds.
- See Also