Compartir a través de


SpeechContinuousRecognitionSession.Completed Evento

Definición

Se produce cuando finaliza una sesión de reconocimiento 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 de evento

Comentarios

Cuando una aplicación suspende y reanuda durante una sesión de reconocimiento de voz, es importante comprobar la propiedad SpeechContinuousRecognitionCompletedEventArgs Status para Success. La API puede dar un resultado UserCanceled que indica que es necesario reiniciar el reconocimiento de voz.

Se aplica a

Consulte también