SpeechRecognizerTimeouts class

SpeechRecognizerTimeouts class

The timespan that a speech recognizer ignores silence or unrecognizable sounds (babble) and continues listening for speech input.

Syntax


var speechRecognizerTimeouts = SpeechRecognizer.Timeouts;

Members

The SpeechRecognizerTimeouts class has these types of members:

Properties

The SpeechRecognizerTimeouts class has these properties.

PropertyAccess typeDescription

BabbleTimeout

Read/write

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.

EndSilenceTimeout

Read/write

Gets and sets the length of time, after recognition results have been generated, that a SpeechRecognizer detects silence and assumes speech input has ended.

InitialSilenceTimeout

Read/write

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.

 

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.SpeechRecognition
Windows::Media::SpeechRecognition [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media.SpeechRecognition
Windows::Media::SpeechRecognition [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version]

See also

Object
Windows.Media.SpeechRecognition
Set speech recognition timeouts
Speech interactions
Designers
Speech design guidelines
Samples
Speech recognition and speech synthesis sample

 

 

Show:
© 2017 Microsoft