SpeechRecognizer.HypothesisGenerated 이벤트

정의

음성 인식기에서 인식 결과 조각을 반환할 때 진행 중인 받아쓰기 세션 중에 발생합니다.

// Register
event_token HypothesisGenerated(TypedEventHandler<SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpeechRecognizer::HypothesisGenerated_revoker HypothesisGenerated(auto_revoke_t, TypedEventHandler<SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpeechRecognizer,SpeechRecognitionHypothesisGeneratedEventArgs> HypothesisGenerated;
function onHypothesisGenerated(eventArgs) { /* Your code */ }
speechRecognizer.addEventListener("hypothesisgenerated", onHypothesisGenerated);
speechRecognizer.removeEventListener("hypothesisgenerated", onHypothesisGenerated);
- or -
speechRecognizer.onhypothesisgenerated = onHypothesisGenerated;
Public Custom Event HypothesisGenerated As TypedEventHandler(Of SpeechRecognizer, SpeechRecognitionHypothesisGeneratedEventArgs) 

이벤트 유형

설명

결과 조각은 긴 받아쓰기 세션 중에 음성 인식이 입력을 처리하고 있음을 보여 주는 데 유용합니다.

적용 대상

추가 정보