AsyncTaskProgress
Inheritance: java.lang.Object
public class AsyncTaskProgress
Provides progress info for the asynchronous task.
Constructors
| Constructor | Description |
|---|---|
| AsyncTaskProgress(int progressPercentage, long duration) | Initializes a new instance of the AsyncTaskProgress class. |
Fields
| Field | Description |
|---|---|
| Duration | The duration of the asynchronous task. |
| ProgressPercentage | The progress of the asynchronous task, in percent. |
AsyncTaskProgress(int progressPercentage, long duration)
public AsyncTaskProgress(int progressPercentage, long duration)
Initializes a new instance of the AsyncTaskProgress class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| progressPercentage | int | The progress percentage. |
| duration | long | The duration. |
Duration
public final System.TimeSpan Duration
The duration of the asynchronous task.
ProgressPercentage
public final int ProgressPercentage
The progress of the asynchronous task, in percent.