![]() |
AI2 Component
(Version nb184)
|
Public Member Functions | |
IntentBasedSpeechRecognizer (ComponentContainer container, Intent recognizerIntent) | |
void | start () |
void | stop () |
void | resultReturned (int requestCode, int resultCode, Intent data) |
Definition at line 14 of file IntentBasedSpeechRecognizer.java.
com.google.appinventor.components.runtime.IntentBasedSpeechRecognizer.IntentBasedSpeechRecognizer | ( | ComponentContainer | container, |
Intent | recognizerIntent | ||
) |
Definition at line 25 of file IntentBasedSpeechRecognizer.java.
void com.google.appinventor.components.runtime.IntentBasedSpeechRecognizer.resultReturned | ( | int | requestCode, |
int | resultCode, | ||
Intent | data | ||
) |
The callback method used to report Activity results back to the caller.
requestCode | the originally passed in request code. Used to identify the call. |
resultCode | the returned result code: android.app.Activity#RESULT_OK or android.app.Activity#RESULT_CANCELED |
data | the returned data, encapsulated as an Intent. |
Implements com.google.appinventor.components.runtime.ActivityResultListener.
Definition at line 44 of file IntentBasedSpeechRecognizer.java.
void com.google.appinventor.components.runtime.IntentBasedSpeechRecognizer.start | ( | ) |
Starting SpeechRecognition
Reimplemented from com.google.appinventor.components.runtime.SpeechRecognizerController.
Definition at line 31 of file IntentBasedSpeechRecognizer.java.
void com.google.appinventor.components.runtime.IntentBasedSpeechRecognizer.stop | ( | ) |
Stopping SpeechRecognition
Reimplemented from com.google.appinventor.components.runtime.SpeechRecognizerController.
Definition at line 39 of file IntentBasedSpeechRecognizer.java.