xref: /expo/packages/expo-file-system/ios/EXSessionTasks/EXSessionResumableDownloadTaskDelegate.h (revision e6bad416)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015-present 650 Industries. All rights reserved.
2 
3 #import <ExpoFileSystem/EXSessionDownloadTaskDelegate.h>
4 #import <ExpoFileSystem/EXTaskHandlersManager.h>
5 
6 typedef void (^EXDownloadDelegateOnWriteCallback)(NSURLSessionDownloadTask *task, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite);
7 
8 @interface EXSessionResumableDownloadTaskDelegate : EXSessionDownloadTaskDelegate
9 
10 - (nonnull instancetype)initWithResolve:(EXPromiseResolveBlock)resolve
11                                  reject:(EXPromiseRejectBlock)reject
12                                localUrl:(NSURL *)localUrl
13                      shouldCalculateMd5:(BOOL)shouldCalculateMd5
14                         onWriteCallback:(EXDownloadDelegateOnWriteCallback)onWriteCallback
15                        resumableManager:(EXTaskHandlersManager *)manager
16                                    uuid:(NSString *)uuid;
17 
18 @end
19 

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026