CompleteCallback
public interface CompleteCallback
Callback function to receive task completion event.
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| task | IAsyncTask | The asynchronous task. |
| wasCancelled | boolean | if set to true [was cancelled]. |
| error | java.lang.Throwable | The error. |