七牛云的Android版本如何加入crc32校验
阿神
阿神 2017-04-17 13:22:44
0
1
489

请问一下,七牛云的android版本如何加入crc32校验呢?
有相关的demo吗?
我需要大文件的校验。要考虑内存性能的
谢谢

阿神
阿神

闭关修行中......

reply all(1)
刘奇

android SDK here

UploadOptions parameter description:

Parameter Type Description
params String Custom variable, key must start with x:.
mimeType String Specifies the mimeType of the file.
checkCrc boolean Whether to verify the uploaded file.
progressHandler UpProgressHandler Upload progress callback.
cancellationSignal UpCancellationSignal cancels the upload, and when isCancelled() returns to true, no more uploads will be performed.

Just set checkCrc here to true

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!