次の方法で共有


SpeechContinuousRecognitionSession.Completed イベント

定義

継続的な認識セッションが終了したときに発生します。

// Register
event_token Completed(TypedEventHandler<SpeechContinuousRecognitionSession, SpeechContinuousRecognitionCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpeechContinuousRecognitionSession::Completed_revoker Completed(auto_revoke_t, TypedEventHandler<SpeechContinuousRecognitionSession, SpeechContinuousRecognitionCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpeechContinuousRecognitionSession,SpeechContinuousRecognitionCompletedEventArgs> Completed;
function onCompleted(eventArgs) { /* Your code */ }
speechContinuousRecognitionSession.addEventListener("completed", onCompleted);
speechContinuousRecognitionSession.removeEventListener("completed", onCompleted);
- or -
speechContinuousRecognitionSession.oncompleted = onCompleted;
Public Custom Event Completed As TypedEventHandler(Of SpeechContinuousRecognitionSession, SpeechContinuousRecognitionCompletedEventArgs) 

イベントの種類

注釈

音声認識セッション中にアプリケーションが中断および再開される場合は、Success の SpeechContinuousRecognitionCompletedEventArgs Status プロパティをチェックすることが重要です。 API によって、音声認識を再起動する必要があることを示す UserCanceled 結果が得られる場合があります。

適用対象

こちらもご覧ください