SL4A API Help -SpeechRecognitionFacade

index
A facade containing RPC implementations related to the speech-to-text functionality of Android.
@author Felix Arends (felix.arends@gmail.com)
recognizeSpeechRecognizes user\'s speech and returns the most likely result.
prompt (String) text prompt to show to the user when asking them to speak (optional)
language (String) language override to inform the recognizer that it should expect speech in a language different than the one set in the java.util.Locale.getDefault() (optional)
languageModel (String) informs the recognizer which speech model to prefer (see android.speech.RecognizeIntent) (optional)
returns: (String) An empty string in case the speech cannot be recongnized.

index