Java android.speech SpeechRecognizer fields, constructors, methods, implement or subclass

Example usage for Java android.speech SpeechRecognizer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.speech SpeechRecognizer.

The text is from its open source code.

Field

StringRESULTS_RECOGNITION
Key used to retrieve an ArrayList from the Bundle passed to the RecognitionListener#onResults(Bundle) and RecognitionListener#onPartialResults(Bundle) methods.
StringCONFIDENCE_SCORES
Key used to retrieve a float array from the Bundle passed to the RecognitionListener#onResults(Bundle) and RecognitionListener#onPartialResults(Bundle) methods.
intERROR_NETWORK_TIMEOUT
Network operation timed out.
intERROR_NETWORK
Other network related errors.
intERROR_AUDIO
Audio recording error.
intERROR_SERVER
Server sends error status.
intERROR_CLIENT
Other client side errors.
intERROR_SPEECH_TIMEOUT
No speech input
intERROR_NO_MATCH
No recognition result matched.
intERROR_RECOGNIZER_BUSY
RecognitionService busy.
intERROR_INSUFFICIENT_PERMISSIONS
Insufficient permissions

Method

SpeechRecognizercreateSpeechRecognizer(final Context context)
Factory method to create a new SpeechRecognizer .
SpeechRecognizercreateSpeechRecognizer(final Context context, final ComponentName serviceComponent)
Factory method to create a new SpeechRecognizer .
voiddestroy()
Destroys the SpeechRecognizer object.
booleanisRecognitionAvailable(final Context context)
Checks whether a speech recognition service is available on the system.
voidsetRecognitionListener(RecognitionListener listener)
Sets the listener that will receive all the callbacks.
voidstartListening(final Intent recognizerIntent)
Starts listening for speech.