Build 1.0_r1(from source)

android.speech.recognition
Class AbstractGrammarListener

java.lang.Object
  extended by android.speech.recognition.AbstractGrammarListener
All Implemented Interfaces:
GrammarListener

public abstract class AbstractGrammarListener
extends Object
implements GrammarListener

A GrammarListener whose methods are empty. This class exists as convenience for creating listener objects.


Constructor Summary
AbstractGrammarListener()
           
 
Method Summary
 void onError(Exception e)
          Invoked when a grammar operation fails.
 void onLoaded()
          Invoked after the Grammar is loaded.
 void onUnloaded()
          Invoked after the Grammar is unloaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGrammarListener

public AbstractGrammarListener()
Method Detail

onError

public void onError(Exception e)
Description copied from interface: GrammarListener
Invoked when a grammar operation fails.

Specified by:
onError in interface GrammarListener
Parameters:
e - the cause of the failure.
IOException if the grammar could not be loaded or saved.


onLoaded

public void onLoaded()
Description copied from interface: GrammarListener
Invoked after the Grammar is loaded.

Specified by:
onLoaded in interface GrammarListener

onUnloaded

public void onUnloaded()
Description copied from interface: GrammarListener
Invoked after the Grammar is unloaded.

Specified by:
onUnloaded in interface GrammarListener

Build 1.0_r1(from source)

Please submit a feedback, bug or feature