Example usage for Java android.speech RecognizerIntent fields, constructors, methods, implement or subclass
The text is from its open source code.
String | EXTRA_CALLING_PACKAGE The extra key used in an intent to the speech recognizer for voice search. |
String | ACTION_RECOGNIZE_SPEECH Starts an activity that will prompt the user for speech and send it through a speech recognizer. |
String | ACTION_WEB_SEARCH Starts an activity that will prompt the user for speech, send it through a speech recognizer, and either display a web search result or trigger another type of action based on the user's speech. |
String | ACTION_VOICE_SEARCH_HANDS_FREE Starts an activity that will prompt the user for speech without requiring the user's visual attention or touch input. |
String | EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS The minimum length of an utterance. |
String | EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS The amount of time that it should take after we stop hearing speech to consider the input complete. |
String | EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS The amount of time that it should take after we stop hearing speech to consider the input possibly complete. |
String | EXTRA_LANGUAGE_MODEL Informs the recognizer which speech model to prefer when performing #ACTION_RECOGNIZE_SPEECH . |
String | LANGUAGE_MODEL_FREE_FORM Use a language model based on free-form speech recognition. |
String | LANGUAGE_MODEL_WEB_SEARCH Use a language model based on web search terms. |
String | EXTRA_PROMPT Optional text prompt to show to the user when asking them to speak. |
String | EXTRA_LANGUAGE Optional IETF language tag (as defined by BCP 47), for example "en-US". |
String | EXTRA_ORIGIN Optional value which can be used to indicate the referer url of a page in which speech was requested. |
String | EXTRA_MAX_RESULTS Optional limit on the maximum number of results to return. |
String | EXTRA_PARTIAL_RESULTS Optional boolean to indicate whether partial results should be returned by the recognizer as the user speaks (default is false). |
String | EXTRA_RESULTS_PENDINGINTENT When the intent is #ACTION_RECOGNIZE_SPEECH , the speech input activity will return results to you via the activity results mechanism. |
String | EXTRA_RESULTS_PENDINGINTENT_BUNDLE If you use #EXTRA_RESULTS_PENDINGINTENT to supply a forwarding intent, you can also use this extra to supply additional extras for the final intent. |
int | RESULT_NO_MATCH Result code returned when no matches are found for the given speech |
int | RESULT_CLIENT_ERROR Result code returned when there is a generic client error |
int | RESULT_SERVER_ERROR Result code returned when the recognition server returns an error |
int | RESULT_NETWORK_ERROR Result code returned when a network error was encountered |
int | RESULT_AUDIO_ERROR Result code returned when an audio error was encountered |
String | EXTRA_RESULTS An ArrayList<String> of the recognition results when performing #ACTION_RECOGNIZE_SPEECH . |
String | EXTRA_CONFIDENCE_SCORES A float array of confidence scores of the recognition results when performing #ACTION_RECOGNIZE_SPEECH . |
String | ACTION_GET_LANGUAGE_DETAILS A broadcast intent which can be fired to the BroadcastReceiver component specified in the meta-data defined in the #DETAILS_META_DATA meta-data of an Activity satisfying #ACTION_WEB_SEARCH . |
String | EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE Specify this boolean extra in a broadcast of #ACTION_GET_LANGUAGE_DETAILS to indicate that only the current language preference is needed in the response. |
String | EXTRA_LANGUAGE_PREFERENCE The key to the extra in the Bundle returned by #ACTION_GET_LANGUAGE_DETAILS which is a String that represents the current language preference this user has specified - a locale string like "en-US". |
String | EXTRA_SUPPORTED_LANGUAGES The key to the extra in the Bundle returned by #ACTION_GET_LANGUAGE_DETAILS which is an ArrayList of String s that represents the languages supported by this implementation of voice recognition - a list of strings like "en-US", "cmn-Hans-CN", etc. |
String | EXTRA_PREFER_OFFLINE Optional boolean, to be used with #ACTION_RECOGNIZE_SPEECH , #ACTION_VOICE_SEARCH_HANDS_FREE , #ACTION_WEB_SEARCH to indicate whether to only use an offline speech recognition engine. |