commit | author | age
|
6e1425
|
1 |
// |
H |
2 |
// WASDKPatchHandler.h |
|
3 |
// testDownload |
|
4 |
// |
|
5 |
// Created by wuyx on 15/10/21. |
|
6 |
// Copyright © 2015年 GHW. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
#import <WACommon/WACommon.h> |
|
11 |
#import <WASdkIntf/WASdkIntf.h> |
|
12 |
@interface WASdkPatchHandler : NSObject |
|
13 |
+(void)downloadPatchZipWithHandler:(void(^)(NSError* error))handler andUpdateInfo:(WAUpdateInfo*)updateInfo; |
|
14 |
+(void)checkUpdate:(void(^)(NSError* error,WAUpdateInfo* updateInfo))handler; |
|
15 |
+(void)startUpdate:(WAUpdateInfo*)updateInfo handler:(void(^)(NSError* error))handler; |
|
16 |
+(void)waxStart; |
|
17 |
+(void)checkPatchInfoWithHandler:(void (^)(NSError* error,WAUpdateInfo* info,int code,NSString* msg))handler; |
|
18 |
+(WAUpdateInfo*)getPatchInfo; |
|
19 |
+(void)waxStartWithPath:(NSString*)path; |
|
20 |
@end |