QNResumeUpload.h 814 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // QNResumeUpload.h
  3. // QiniuSDK
  4. //
  5. // Created by bailong on 14/10/1.
  6. // Copyright (c) 2014年 Qiniu. All rights reserved.
  7. //
  8. #import "QNFileDelegate.h"
  9. #import "QNHttpDelegate.h"
  10. #import "QNUpToken.h"
  11. #import "QNUploadManager.h"
  12. #import <Foundation/Foundation.h>
  13. @interface QNResumeUpload : NSObject
  14. - (instancetype)initWithFile:(id<QNFileDelegate>)file
  15. withKey:(NSString *)key
  16. withToken:(QNUpToken *)token
  17. withCompletionHandler:(QNUpCompletionHandler)block
  18. withOption:(QNUploadOption *)option
  19. withRecorder:(id<QNRecorderDelegate>)recorder
  20. withRecorderKey:(NSString *)recorderKey
  21. withHttpManager:(id<QNHttpDelegate>)http
  22. withConfiguration:(QNConfiguration *)config;
  23. - (void)run;
  24. @end