Overload List
| Name | Description | |
|---|---|---|
| addCommand(String) |
Adds a new command phrase. Note: You can only use two aliases per
command.
Example:
SpeechRecognizer rec = SpeechRecognizer.getInstance("APIKEY");
rec.addCommand("yes");
rec.addCommand("no");
The user can now speak "Yes" or "No" and it will be recognized correctly.
| |
| addCommand(array<String>[]()[][]) |
Adds a new command phrase. Note: You can only use two aliases per
command.
Example:
SpeechRecognizer rec = SpeechRecognizer.getInstance("APIKEY");
String commands = new String(){"yes","no"};
rec.addCommand(commands);
The user can now speak "Yes" or "No" and it will be recognized correctly.
|