android.speech
Class SpeechRecognizer
java.lang.Object
android.speech.SpeechRecognizer
public class SpeechRecognizer
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULTS_RECOGNITION
public static final String RESULTS_RECOGNITION
- See Also:
- Constant Field Values
CONFIDENCE_SCORES
public static final String CONFIDENCE_SCORES
- See Also:
- Constant Field Values
ERROR_NETWORK_TIMEOUT
public static final int ERROR_NETWORK_TIMEOUT
- See Also:
- Constant Field Values
ERROR_NETWORK
public static final int ERROR_NETWORK
- See Also:
- Constant Field Values
ERROR_AUDIO
public static final int ERROR_AUDIO
- See Also:
- Constant Field Values
ERROR_SERVER
public static final int ERROR_SERVER
- See Also:
- Constant Field Values
ERROR_CLIENT
public static final int ERROR_CLIENT
- See Also:
- Constant Field Values
ERROR_SPEECH_TIMEOUT
public static final int ERROR_SPEECH_TIMEOUT
- See Also:
- Constant Field Values
ERROR_NO_MATCH
public static final int ERROR_NO_MATCH
- See Also:
- Constant Field Values
ERROR_RECOGNIZER_BUSY
public static final int ERROR_RECOGNIZER_BUSY
- See Also:
- Constant Field Values
ERROR_INSUFFICIENT_PERMISSIONS
public static final int ERROR_INSUFFICIENT_PERMISSIONS
- See Also:
- Constant Field Values
isRecognitionAvailable
public static boolean isRecognitionAvailable(Context context)
createSpeechRecognizer
public static SpeechRecognizer createSpeechRecognizer(Context context)
createSpeechRecognizer
public static SpeechRecognizer createSpeechRecognizer(Context context,
ComponentName serviceComponent)
setRecognitionListener
public void setRecognitionListener(RecognitionListener listener)
startListening
public void startListening(Intent recognizerIntent)
stopListening
public void stopListening()
cancel
public void cancel()
destroy
public void destroy()
Copyright © 2008-2012. All Rights Reserved.