CompleteCallback

public interface CompleteCallback

Callback function to receive task completion event.

Methods

MethodDescription
run(IAsyncTask task, boolean wasCancelled, Throwable error)Callback function to receive task completion event.

run(IAsyncTask task, boolean wasCancelled, Throwable error)

public abstract void run(IAsyncTask task, boolean wasCancelled, Throwable error)

Callback function to receive task completion event.

Parameters:

ParameterTypeDescription
taskIAsyncTaskThe asynchronous task.
wasCancelledbooleanif set to true [was cancelled].
errorjava.lang.ThrowableThe error.