speech_to_text library

Classes

LocaleName
A single locale with a name, localized to the current system locale, and a localeId which can be used in the listen method to choose a locale for speech recognition.
SpeechToText
An interface to device specific speech recognition services.

Enums

ListenMode

Typedefs

SpeechErrorListener = void Function(SpeechRecognitionError errorNotification)
Notified if errors occur during recognition or intialization.
SpeechResultListener = void Function(SpeechRecognitionResult result)
Notified as words are recognized with the current set of recognized words.
SpeechSoundLevelChange = dynamic Function(double level)
Notified when the sound level changes during a listen method.
SpeechStatusListener = void Function(String status)
Notified when recognition status changes.

Exceptions / Errors

ListenFailedException
Thrown when listen fails to properly start a speech listening session on the device
SpeechToTextNotInitializedException
Thrown when a method is called that requires successful initialization first.