最終更新:2021-12-28 (火) 04:32:09 (857d)  

android.speech.SpeechRecognizer
Top / android.speech.SpeechRecognizer

https://developer.android.com/reference/android/speech/SpeechRecognizer

Android/APIレベル

オプション

メソッド

factory

その他

定数

  • SpeechRecognizer.CONFIDENCE_SCORES?Key used to retrieve a float array from the Bundle passed to the RecognitionListener?#onResults(Bundle) and RecognitionListener?#onPartialResults?(Bundle) methods.
    SpeechRecognizer.ERROR_AUDIO?Audio recording error.
    SpeechRecognizer.ERROR_CLIENT?5Other client side errors.
    SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS?Insufficient permissions
    SpeechRecognizer.ERROR_LANGUAGE_NOT_SUPPORTED?12Requested language is not available to be used with the current recognizer.
    SpeechRecognizer.ERROR_LANGUAGE_UNAVAILABLE?13Requested language is supported, but not available currently (e.g. not downloaded yet).
    SpeechRecognizer.ERROR_NETWORK?Other network related errors.
    SpeechRecognizer.ERROR_NETWORK_TIMEOUT?Network operation timed out.
    SpeechRecognizer.ERROR_NO_MATCH?7No recognition result matched.
    SpeechRecognizer.ERROR_RECOGNIZER_BUSY?8RecognitionService? busy.
    SpeechRecognizer.ERROR_SERVER?4Server sends error status.
    SpeechRecognizer.ERROR_SERVER_DISCONNECTED?11Server has been disconnected, e.g. because the app has crashed.
    SpeechRecognizer.ERROR_SPEECH_TIMEOUT?No speech input
    SpeechRecognizer.ERROR_TOO_MANY_REQUESTS?Too many requests from the same client.
    SpeechRecognizer.RESULTS_RECOGNITION?Key used to retrieve an ArrayList<String> from the Bundle passed to the RecognitionListener?#onResults(Bundle) and RecognitionListener?#onPartialResults?(Bundle) methods.

参考

ソースコード