Partager via


SpeechContinuousRecognitionSession.ResultGenerated Événement

Définition

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

S’applique à

Voir aussi