AsyncTask

Inheritance: java.lang.Object

public final class AsyncTask

The static factory class for creating the asynchronous tasks

Methods

MethodDescription
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:

ParameterTypeDescription
taskActionAsyncTaskActionThe 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:

ParameterTypeDescription
taskFuncAsyncTaskFuncThe task function.

Returns: IAsyncTask - The asynchronous task

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int