Class AsyncTaskProgress

  • public class AsyncTaskProgress
    extends Object

    Provides progress info for the asynchronous task.

    • Field Detail

      • Duration

        public final Duration

        The duration of the asynchronous task.

      • ProgressPercentage

        public final int ProgressPercentage

        The progress of the asynchronous task, in percent.

    • Constructor Detail

      • AsyncTaskProgress

        public AsyncTaskProgress(int progressPercentage,
                                 long duration)

        Initializes a new instance of the AsyncTaskProgress class.

        progressPercentage - The progress percentage.
        duration - The duration.