AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer Class Reference
Inheritance diagram for com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer:
com.google.appinventor.components.runtime.SpeechRecognizerController

Public Member Functions

 ServiceBasedSpeechRecognizer (ComponentContainer container, Intent recognizerIntent)
 
void start ()
 
void stop ()
 
void onReadyForSpeech (Bundle bundle)
 
void onBeginningOfSpeech ()
 
void onRmsChanged (float v)
 
void onBufferReceived (byte[] bytes)
 
void onEndOfSpeech ()
 
void onError (int i)
 
void onResults (Bundle bundle)
 
void onPartialResults (Bundle bundle)
 
void onEvent (int i, Bundle bundle)
 

Detailed Description

Definition at line 17 of file ServiceBasedSpeechRecognizer.java.

Constructor & Destructor Documentation

◆ ServiceBasedSpeechRecognizer()

com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.ServiceBasedSpeechRecognizer ( ComponentContainer  container,
Intent  recognizerIntent 
)

Definition at line 25 of file ServiceBasedSpeechRecognizer.java.

Member Function Documentation

◆ onBeginningOfSpeech()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onBeginningOfSpeech ( )

Definition at line 50 of file ServiceBasedSpeechRecognizer.java.

◆ onBufferReceived()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onBufferReceived ( byte[]  bytes)

Definition at line 60 of file ServiceBasedSpeechRecognizer.java.

◆ onEndOfSpeech()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onEndOfSpeech ( )

Definition at line 65 of file ServiceBasedSpeechRecognizer.java.

◆ onError()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onError ( int  i)

Definition at line 70 of file ServiceBasedSpeechRecognizer.java.

◆ onEvent()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onEvent ( int  i,
Bundle  bundle 
)

Definition at line 98 of file ServiceBasedSpeechRecognizer.java.

◆ onPartialResults()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onPartialResults ( Bundle  bundle)

Definition at line 87 of file ServiceBasedSpeechRecognizer.java.

◆ onReadyForSpeech()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onReadyForSpeech ( Bundle  bundle)

Definition at line 45 of file ServiceBasedSpeechRecognizer.java.

◆ onResults()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onResults ( Bundle  bundle)

Definition at line 76 of file ServiceBasedSpeechRecognizer.java.

◆ onRmsChanged()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.onRmsChanged ( float  v)

Definition at line 55 of file ServiceBasedSpeechRecognizer.java.

◆ start()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.start ( )

Starting SpeechRecognition

Reimplemented from com.google.appinventor.components.runtime.SpeechRecognizerController.

Definition at line 31 of file ServiceBasedSpeechRecognizer.java.

◆ stop()

void com.google.appinventor.components.runtime.ServiceBasedSpeechRecognizer.stop ( )

Stopping SpeechRecognition

Reimplemented from com.google.appinventor.components.runtime.SpeechRecognizerController.

Definition at line 38 of file ServiceBasedSpeechRecognizer.java.


The documentation for this class was generated from the following file: