Condividi tramite


SpeechContinuousRecognitionSession.Completed Evento

Definizione

Si verifica quando termina una sessione di riconoscimento continuo.

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

Tipo evento

Commenti

Quando un'applicazione sospende e riprende durante una sessione di riconoscimento vocale, è importante controllare la proprietà SpeechContinuousRecognitionCompletedEventArgs Status per Success. L'API può fornire un risultato UserCanceled che indica che è necessario riavviare il riconoscimento vocale.

Si applica a

Vedi anche