QNUpProgress.h 527 B

1234567891011121314151617181920212223
  1. //
  2. // QNUpProgress.h
  3. // QiniuSDK
  4. //
  5. // Created by yangsen on 2021/5/21.
  6. // Copyright © 2021 Qiniu. All rights reserved.
  7. //
  8. #import "QNUploadOption.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface QNUpProgress : NSObject
  11. + (instancetype)progress:(QNUpProgressHandler)progress byteProgress:(QNUpByteProgressHandler)byteProgress;
  12. - (void)progress:(NSString *)key uploadBytes:(long long)uploadBytes totalBytes:(long long)totalBytes;
  13. - (void)notifyDone:(NSString *)key totalBytes:(long long)totalBytes;
  14. @end
  15. NS_ASSUME_NONNULL_END