Bagikan melalui


SpeechRecognizer.HypothesisGenerated Kejadian

Definisi

Terjadi selama sesi dikte yang sedang berlangsung ketika fragmen hasil pengenalan dikembalikan oleh pengenal ucapan.

// 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) 

Jenis Acara

Keterangan

Fragmen hasil berguna untuk menunjukkan bahwa pengenalan ucapan memproses input selama sesi dikte yang panjang.

Berlaku untuk

Lihat juga