AsyncTask
Inheritance: java.lang.Object
public final class AsyncTask
The static factory class for creating the asynchronous tasks
Methods
Method | Description |
---|---|
create(AsyncTaskAction taskAction) | Creates the asynchronous task without any result. |
create(AsyncTaskFunc taskFunc) | Creates the asynchronous task with generic type result. |
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
create(AsyncTaskAction taskAction)
public static IAsyncTask create(AsyncTaskAction taskAction)
Creates the asynchronous task without any result.
Parameters:
Parameter | Type | Description |
---|---|---|
taskAction | AsyncTaskAction | The task action. |
Returns: IAsyncTask - The asynchronous task
create(AsyncTaskFunc taskFunc)
public static IAsyncTask create(AsyncTaskFunc taskFunc)
Creates the asynchronous task with generic type result.
Parameters:
Parameter | Type | Description |
---|---|---|
taskFunc | AsyncTaskFunc | The task function. |
Returns: IAsyncTask - The asynchronous task
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |