|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmbeddedGrammarListener
Listens for EmbeddedGrammar events.
| Method Summary | |
|---|---|
void |
onCompileAllSlots()
Invokes after all grammar slots have been compiled. |
void |
onError(Exception e)
Invoked when a grammar operation fails. |
void |
onResetAllSlots()
Invokes after all grammar slots have been reset. |
void |
onSaved(String path)
Invoked after the grammar is saved. |
| Methods inherited from interface android.speech.recognition.GrammarListener |
|---|
onLoaded, onUnloaded |
| Method Detail |
|---|
void onSaved(String path)
path - the path the grammar was saved tovoid onError(Exception e)
onError in interface GrammarListenere - the cause of the failure.GrammarOverflowException if the grammar slot is full and no
further items may be added to it.UnsupportedOperationException if different words with
the same pronunciation are added.IllegalStateException if reseting or compiling the
slots fails.IOException if the grammar could not be loaded or
saved.void onCompileAllSlots()
void onResetAllSlots()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||