SpeechRecognizer.HypothesisGenerated Evento

Definición

Se produce durante una sesión de dictado en curso cuando el reconocedor de voz devuelve un fragmento de resultado de reconocimiento.

// Register
event_token HypothesisGenerated(TypedEventHandler<SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs const&> const& handler) const;

// Revoke with event_token
void HypothesisGenerated(event_token const* cookie) const;

// Revoke with event_revoker
SpeechRecognizer::HypothesisGenerated_revoker HypothesisGenerated(auto_revoke_t, TypedEventHandler<SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpeechRecognizer,SpeechRecognitionHypothesisGeneratedEventArgs> HypothesisGenerated;
function onHypothesisGenerated(eventArgs) { /* Your code */ }
speechRecognizer.addEventListener("hypothesisgenerated", onHypothesisGenerated);
speechRecognizer.removeEventListener("hypothesisgenerated", onHypothesisGenerated);
- or -
speechRecognizer.onhypothesisgenerated = onHypothesisGenerated;
Public Custom Event HypothesisGenerated As TypedEventHandler(Of SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs) 

Tipo de evento

Comentarios

El fragmento de resultado es útil para demostrar que el reconocimiento de voz está procesando la entrada durante una larga sesión de dictado.

Se aplica a

Consulte también