KeenASR React Native Plugin (v2.2)
    Preparing search index...

    Enumeration VadParameter

    Voice Activity Detection (VAD) parameters that control when the recognizer stops listening automatically and invokes onFinalResponse.

    VAD parameters are set using setVADParameter and control timing behavior during recognition. All values are in seconds.

    Index

    Enumeration Members

    TimeoutForNoSpeech: 0

    How long to wait for speech to start before timing out. If no speech is detected within this duration after startListening is called, the recognizer will stop and emit a final response.

    Default: 10 seconds.

    TimeoutEndSilenceForGoodMatch: 1

    How long to wait after the end of speech when a good recognition match has been found. A shorter value provides faster response times when the recognizer is confident in the result.

    Default: 1 second.

    TimeoutEndSilenceForAnyMatch: 2

    How long to wait after the end of speech for any recognition match. This is typically set longer than TimeoutEndSilenceForGoodMatch to allow extra time when the match confidence is lower.

    Default: 2 seconds.

    TimeoutMaxDuration: 3

    Maximum duration of a single recognition session. The recognizer will stop and emit a final response after this duration regardless of speech activity.

    Default: 20 seconds.