Android Programming Press on the image to return to the main documentation page.

SpeechRecognizer

Written by XverhelstX

List of types:

SpeechRecognizer

SpeechRecognizer


Permissions:

android.permission.RECORD_AUDIO

Events:

None

Members:


  Cancel

  CreateRecognizeIntent2 (intent As android.content.Intent) As android.content.Intent

  CreateRecognizerIntent (LanguageModel As String, CallingPackage As String, MaxResults As Int) As android.content.Intent

  Destroy

  Initialize (EventName As String)

  isRecognitionAvailable As Boolean

  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

  StartListening (recognizerIntent As android.content.Intent)

  StopListening

Members description:

Cancel
Cancels the speech recognition.
CreateRecognizeIntent2 (intent As android.content.Intent) As android.content.Intent
Create your own recognize intent.
Please check:
http://developer.android.com/reference/android/speech/RecognizerIntent.html

For the desired intent.
CreateRecognizerIntent (LanguageModel As String, CallingPackage As String, MaxResults As Int) As android.content.Intent
Create a basic recognize intent with basic methods.
Destroy
Destroys the SpeechRecognizer object.
Initialize (EventName As String)
Initializes the SpeechRecognizer.
EventName - Events subs prefix.
isRecognitionAvailable As Boolean
Checks whether a speech recognition service is available on the system.
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
StartListening (recognizerIntent As android.content.Intent)
Starts listening for speech.
StopListening
Stops listening for speech.
Top