AsyncTaskProgress

Inheritance: java.lang.Object

public class AsyncTaskProgress

Provides progress info for the asynchronous task.

Constructors

ConstructorDescription
AsyncTaskProgress(int progressPercentage, long duration)Initializes a new instance of the AsyncTaskProgress class.

Fields

FieldDescription
DurationThe duration of the asynchronous task.
ProgressPercentageThe 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:

ParameterTypeDescription
progressPercentageintThe progress percentage.
durationlongThe 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.