mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-17 23:36:11 +08:00
文件下载&&解压缩接口
This commit is contained in:
17
ios/RCTHotUpdate/RCTHotUpdateDownloader.h
Normal file
17
ios/RCTHotUpdate/RCTHotUpdateDownloader.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// RCTHotUpdateDownloader.h
|
||||
// RCTHotUpdate
|
||||
//
|
||||
// Created by lvbingru on 16/2/23.
|
||||
// Copyright © 2016年 erica. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface RCTHotUpdateDownloader : NSObject
|
||||
|
||||
+ (void)download:(NSString *)downloadPath savePath:(NSString *)savePath
|
||||
progressHandler:(void (^)(long long, long long))progressHandler
|
||||
completionHandler:(void (^)(NSString *path, NSError *error))completionHandler;
|
||||
|
||||
@end
|
Reference in New Issue
Block a user