Press on the image to return to the main documentation page.
SpeechToText
Written by Nelson Pires
List of types:
RecognizerIntent
SpeechToText
RecognizerIntent
Events:
None
Members:
ACTION_GET_LANGUAGE_DETAILS
As
String
ACTION_RECOGNIZE_SPEECH
As
String
ACTION_VOICE_SEARCH_HANDS_FREE
As
String
ACTION_WEB_SEARCH
As
String
DETAILS_META_DATA
As
String
EXTRA_CALLING_PACKAGE
As
String
EXTRA_CONFIDENCE_SCORES
As
String
EXTRA_LANGUAGE
As
String
EXTRA_LANGUAGE_MODEL
As
String
EXTRA_LANGUAGE_PREFERENCE
As
String
EXTRA_MAX_RESULTS
As
String
EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE
As
String
EXTRA_ORIGIN
As
String
EXTRA_PARTIAL_RESULTS
As
String
EXTRA_PROMPT
As
String
EXTRA_RESULTS
As
String
EXTRA_RESULTS_PENDINGINTENT
As
String
EXTRA_RESULTS_PENDINGINTENT_BUNDLE
As
String
EXTRA_SECURE
As
String
EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
As
String
EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
As
String
EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
As
String
EXTRA_SUPPORTED_LANGUAGES
As
String
EXTRA_WEB_SEARCH_ONLY
As
String
LANGUAGE_MODEL_FREE_FORM
As
String
LANGUAGE_MODEL_WEB_SEARCH
As
String
RESULT_AUDIO_ERROR
As
Int
RESULT_CLIENT_ERROR
As
Int
RESULT_NETWORK_ERROR
As
Int
RESULT_NO_MATCH
As
Int
RESULT_SERVER_ERROR
As
Int
Members description:
ACTION_GET_LANGUAGE_DETAILS
As
String
ACTION_RECOGNIZE_SPEECH
As
String
ACTION_VOICE_SEARCH_HANDS_FREE
As
String
ACTION_WEB_SEARCH
As
String
DETAILS_META_DATA
As
String
EXTRA_CALLING_PACKAGE
As
String
EXTRA_CONFIDENCE_SCORES
As
String
EXTRA_LANGUAGE
As
String
EXTRA_LANGUAGE_MODEL
As
String
EXTRA_LANGUAGE_PREFERENCE
As
String
EXTRA_MAX_RESULTS
As
String
EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE
As
String
EXTRA_ORIGIN
As
String
EXTRA_PARTIAL_RESULTS
As
String
EXTRA_PROMPT
As
String
EXTRA_RESULTS
As
String
EXTRA_RESULTS_PENDINGINTENT
As
String
EXTRA_RESULTS_PENDINGINTENT_BUNDLE
As
String
EXTRA_SECURE
As
String
EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
As
String
EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
As
String
EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
As
String
EXTRA_SUPPORTED_LANGUAGES
As
String
EXTRA_WEB_SEARCH_ONLY
As
String
LANGUAGE_MODEL_FREE_FORM
As
String
LANGUAGE_MODEL_WEB_SEARCH
As
String
RESULT_AUDIO_ERROR
As
Int
RESULT_CLIENT_ERROR
As
Int
RESULT_NETWORK_ERROR
As
Int
RESULT_NO_MATCH
As
Int
RESULT_SERVER_ERROR
As
Int
SpeechToText
Permissions:
android.permission.RECORD_AUDIO
Events:
onReadyForSpeech
onBeginningOfSpeech
onRmsChanged(rmsdB as Float)
onBufferReceived(buffer[] as byte
onEndOfSpeech
onError(error as int)
onResults(results as object)
onPartialResults(results as object)
Members:
cancel
createSpeechRecognizer
destroy
initialize
(
eventname
As
String
)
isRecognitionAvailable
As
Boolean
startListening
(
recognizerIntent
As
android
.
content
.
Intent
)
stopListening
Members description:
cancel
createSpeechRecognizer
destroy
initialize
(
eventname
As
String
)
isRecognitionAvailable
As
Boolean
startListening
(
recognizerIntent
As
android
.
content
.
Intent
)
stopListening
Top