com.obs.services.model

## 接口 ProgressStatus

-     public interface ProgressStatus

  Data transfer status

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `double` | `getAverageSpeed()` Obtain the average speed.
    `double` | `getInstantaneousSpeed()` Obtain the instantaneous speed.
    `long` | `getNewlyTransferredBytes()` Obtain the number of new bytes.
    `long` | `getTotalBytes()` Obtain the number of bytes to be transferred.
    `int` | `getTransferPercentage()` Obtain the transfer progress
    `long` | `getTransferredBytes()` Obtain the number of transferred bytes.

- - ### 方法详细资料

    - #### getInstantaneousSpeed

          double getInstantaneousSpeed()

      Obtain the instantaneous speed.
      返回:
        Instantaneous speed

    - #### getAverageSpeed

          double getAverageSpeed()

      Obtain the average speed.
      返回:
        Average speed

    - #### getTransferPercentage

          int getTransferPercentage()

      Obtain the transfer progress
      返回:
        Transfer progress

    - #### getNewlyTransferredBytes

          long getNewlyTransferredBytes()

      Obtain the number of new bytes.
      返回:
        Number of bytes transferred since last progress refresh

    - #### getTransferredBytes

          long getTransferredBytes()

      Obtain the number of transferred bytes.
      返回:
        Number of bytes that have been transferred

    - #### getTotalBytes

          long getTotalBytes()

      Obtain the number of bytes to be transferred.
      返回:
        Number of the total bytes to be transferred

Copyright © 2021. All rights reserved.