Example usage for Java android.speech SpeechRecognizer fields, constructors, methods, implement or subclass
The text is from its open source code.
String | RESULTS_RECOGNITION Key used to retrieve an ArrayList |
String | CONFIDENCE_SCORES Key used to retrieve a float array from the Bundle passed to the RecognitionListener#onResults(Bundle) and RecognitionListener#onPartialResults(Bundle) methods. |
int | ERROR_NETWORK_TIMEOUT Network operation timed out. |
int | ERROR_NETWORK Other network related errors. |
int | ERROR_AUDIO Audio recording error. |
int | ERROR_SERVER Server sends error status. |
int | ERROR_CLIENT Other client side errors. |
int | ERROR_SPEECH_TIMEOUT No speech input |
int | ERROR_NO_MATCH No recognition result matched. |
int | ERROR_RECOGNIZER_BUSY RecognitionService busy. |
int | ERROR_INSUFFICIENT_PERMISSIONS Insufficient permissions |
SpeechRecognizer | createSpeechRecognizer(final Context context) Factory method to create a new SpeechRecognizer . |
SpeechRecognizer | createSpeechRecognizer(final Context context, final ComponentName serviceComponent) Factory method to create a new SpeechRecognizer . |
void | destroy() Destroys the SpeechRecognizer object. |
boolean | isRecognitionAvailable(final Context context) Checks whether a speech recognition service is available on the system. |
void | setRecognitionListener(RecognitionListener listener) Sets the listener that will receive all the callbacks. |
void | startListening(final Intent recognizerIntent) Starts listening for speech. |