public interface UploadProgressListener
Modifier and Type | Method and Description |
---|---|
void |
onProgressChanged(int uploadPositionInBytes, int uploadSizeInBytes)
Invoked when upload progress has been updated.
更新上传进度时调用。 |
void onProgressChanged(int uploadPositionInBytes, int uploadSizeInBytes)
uploadPositionInBytes
- - a number of the bytes uploaded
--上传的字节数
uploadSizeInBytes
- - a total number of bytes that should be uploaded
--应该上传的总字节数