pub enum ResultReason {
Show 14 variants NoMatch, Canceled, RecognizingSpeech, RecognizedSpeech, RecognizingIntent, RecognizedIntent, TranslatingSpeech, TranslatedSpeech, SynthesizingAudio, SynthesizingAudioCompleted, RecognizingKeyword, RecognizedKeyword, SynthesizingAudioStarted, VoicesListRetrieved,
}
Expand description

ResultReason specifies the possible reasons a recognition result might be generated.

Variants

NoMatch

NoMatch indicates speech could not be recognized. More details can be found in the NoMatchDetails object.

Canceled

Canceled indicates that the recognition was canceled. More details can be found using the CancellationDetails object.

RecognizingSpeech

RecognizingSpeech indicates the speech result contains hypothesis text.

RecognizedSpeech

RecognizedSpeech indicates the speech result contains final text that has been recognized. Speech Recognition is now complete for this phrase.

RecognizingIntent

RecognizingIntent indicates the intent result contains hypothesis text and intent.

RecognizedIntent

RecognizedIntent indicates the intent result contains final text and intent. Speech Recognition and Intent determination are now complete for this phrase.

TranslatingSpeech

TranslatingSpeech indicates the translation result contains hypothesis text and its translation(s).

TranslatedSpeech

TranslatedSpeech indicates the translation result contains final text and corresponding translation(s). Speech Recognition and Translation are now complete for this phrase.

SynthesizingAudio

SynthesizingAudio indicates the synthesized audio result contains a non-zero amount of audio data

SynthesizingAudioCompleted

SynthesizingAudioCompleted indicates the synthesized audio is now complete for this phrase.

RecognizingKeyword

RecognizingKeyword indicates the speech result contains (unverified) keyword text.

RecognizedKeyword

RecognizedKeyword indicates that keyword recognition completed recognizing the given keyword.

SynthesizingAudioStarted

SynthesizingAudioStarted indicates the speech synthesis is now started

VoicesListRetrieved

VoicesListRetrieved indicates the voices list has been retrieved successfully.

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.