Skip to content

Commit

Permalink
doc: 更新开发文档
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Aug 13, 2023
1 parent 19ec17b commit 1235f0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ scopeNetLife {
}
```

> 不仅是泛型为File才有效, 任何请求/响应都可以监听进度
!!! success "监听任何进度"
不仅是泛型为File才有效, 任何请求/响应都可以监听进度


## 监听器
Expand Down Expand Up @@ -80,8 +81,8 @@ ProgressListener的构造参数`interval`控制触发进度监听器的间隔时
| 函数 | 描述 |
|-|-|
| currentSize | 已完成大小, 例如: `120kB` 或者 `1.5MB` |
| totalSize | 全部大小, 同上 |
| remainSize | 剩余大小, 同上 |
| speedSize | 每秒下载大小, 同上 |
| totalSize | 全部大小 |
| remainSize | 剩余大小 |
| speedSize | 每秒下载大小 |
| useTime | 已使用时间, 格式为: `01:23:04` |
| remainTime | 估算的剩余时间, 格式为: `01:23:04` |

0 comments on commit 1235f0c

Please sign in to comment.