AI2 Component  (Version nb184) Class Reference
Inheritance diagram for

Public Member Functions

 IntentBasedSpeechRecognizer (ComponentContainer container, Intent recognizerIntent)
void start ()
void stop ()
void resultReturned (int requestCode, int resultCode, Intent data)

Detailed Description

Definition at line 14 of file

Constructor & Destructor Documentation

◆ IntentBasedSpeechRecognizer() ( ComponentContainer  container,
Intent  recognizerIntent 

Definition at line 25 of file

Member Function Documentation

◆ resultReturned()

void ( int  requestCode,
int  resultCode,
Intent  data 

The callback method used to report Activity results back to the caller.

requestCodethe originally passed in request code. Used to identify the call.
resultCodethe returned result code: or
datathe returned data, encapsulated as an Intent.


Definition at line 44 of file

◆ start()

void ( )

Starting SpeechRecognition

Reimplemented from

Definition at line 31 of file

◆ stop()

void ( )

Stopping SpeechRecognition

Reimplemented from

Definition at line 39 of file

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