SpeechContinuousRecognitionSession.ResultGenerated Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando il riconoscimento vocale restituisce il risultato di una sessione di riconoscimento continuo.
// Register
event_token ResultGenerated(TypedEventHandler<SpeechContinuousRecognitionSession, SpeechContinuousRecognitionResultGeneratedEventArgs const&> const& handler) const;
// Revoke with event_token
void ResultGenerated(event_token const* cookie) const;
// Revoke with event_revoker
SpeechContinuousRecognitionSession::ResultGenerated_revoker ResultGenerated(auto_revoke_t, TypedEventHandler<SpeechContinuousRecognitionSession, SpeechContinuousRecognitionResultGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpeechContinuousRecognitionSession,SpeechContinuousRecognitionResultGeneratedEventArgs> ResultGenerated;
function onResultGenerated(eventArgs) { /* Your code */ }
speechContinuousRecognitionSession.addEventListener("resultgenerated", onResultGenerated);
speechContinuousRecognitionSession.removeEventListener("resultgenerated", onResultGenerated);
- or -
speechContinuousRecognitionSession.onresultgenerated = onResultGenerated;
Public Custom Event ResultGenerated As TypedEventHandler(Of SpeechContinuousRecognitionSession, SpeechContinuousRecognitionResultGeneratedEventArgs)
Tipo evento
TypedEventHandler<SpeechContinuousRecognitionSession,SpeechContinuousRecognitionResultGeneratedEventArgs>