|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.speech.recognition.WordItem
android.speech.recognition.impl.WordItemImpl
public class WordItemImpl
| Method Summary | |
|---|---|
protected void |
finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver. |
long |
getNativeObject()
|
void |
run()
Begin doing the active part of the class' code. |
static WordItemImpl |
valueOf(String word,
String pronunciation)
Creates a new WordItem. |
static WordItemImpl |
valueOf(String word,
String[] pronunciations)
Creates a new WordItem. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void run()
Runnable
run in interface Runnable
public static WordItemImpl valueOf(String word,
String[] pronunciations)
throws IllegalArgumentException
word - the word to insertpronunciations - the pronunciations to associated with the item. If the list is
is empty (example:new String[0]) the recognizer will attempt to guess the pronunciations.
IllegalArgumentException - if word is null or if pronunciations is
null or pronunciations contains an element equal to null or empty string.
public static WordItemImpl valueOf(String word,
String pronunciation)
throws IllegalArgumentException
word - the word to insertpronunciation - the pronunciation to associate with the item. If it
is null the recognizer will attempt to guess the pronunciations.
IllegalArgumentException - if word is null or if pronunciation is
an empty stringpublic long getNativeObject()
protected void finalize()
throws Throwable
ObjectNote: The virtual machine assumes that the implementation in class Object is empty.
finalize in class ObjectThrowable - The virtual machine ignores any exceptions which are
thrown during finalization.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||