|
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.impl.System
public class System
| Method Summary | |
|---|---|
void |
dispose()
Releases the native resources associated with the object. |
protected void |
finalize()
Called by the virtual machine when there are no longer any (non-weak) references to the receiver. |
static String |
getAPIVersion()
|
static System |
getInstance()
Returns the singleton instance. |
void |
register(Runnable r)
Registers an object for shutdown when System.dispose() is invoked. |
void |
unregister(Runnable r)
Registers an object for shutdown when System.dispose() is invoked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static System getInstance()
public void register(Runnable r)
throws IllegalStateException
r - the code to run on shutdown
IllegalStateException - if the System is shutting downpublic void unregister(Runnable r)
r - the code to run on shutdown
public void dispose()
throws TimeoutException,
IllegalThreadStateException
TimeoutException - if the operation timeouts
IllegalThreadStateException - if a native thread error occurs
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.public static String getAPIVersion()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||