SpeechContinuousRecognitionSession.ResultGenerated イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
音声認識エンジンが継続的な認識セッションから結果を返したときに発生します。
// 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)
イベントの種類
TypedEventHandler<SpeechContinuousRecognitionSession,SpeechContinuousRecognitionResultGeneratedEventArgs>