# ProgressListener

abstract class ProgressListener(interval: Long)
Content copied to clipboard

进度监听器, 为下载和上传两者

## Parameters

interval

进度监听器刷新的间隔时间, 单位为毫秒, 默认值为500ms

## Constructors

ProgressListener
Link copied to clipboard
fun ProgressListener(interval: Long = 500)
Content copied to clipboard
进度监听器刷新的间隔时间, 单位为毫秒, 默认值为500ms

## Functions

onProgress
Link copied to clipboard
abstract fun onProgress(p: Progress)
Content copied to clipboard
监听上传/下载进度回调函数

## Properties

elapsedTime
Link copied to clipboard
var elapsedTime: Long = 0L
Content copied to clipboard
interval
Link copied to clipboard
var interval: Long = 500
Content copied to clipboard
进度监听器刷新的间隔时间, 单位为毫秒, 默认值为500ms
intervalByteCount
Link copied to clipboard
var intervalByteCount: Long = 0L
Content copied to clipboard