SpeechContinuousRecognitionSession.ResultGenerated Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque le module de reconnaissance vocale retourne le résultat d’une session de reconnaissance continue.
// 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)
Type d'événement
TypedEventHandler<SpeechContinuousRecognitionSession,SpeechContinuousRecognitionResultGeneratedEventArgs>