Update API and example app to match latest Cordova implementation

This commit is contained in:
Will Anderson
2015-09-08 14:41:19 -07:00
parent ae19e24a35
commit 3e0bc07fb3
6 changed files with 154 additions and 101 deletions

View File

@@ -33,9 +33,15 @@
+ (NSString *)getPackageFolderPath:(NSString *)packageHash;
+ (NSDictionary *)getCurrentPackage:(NSError **)error;
+ (NSDictionary *)getPackage:(NSString *)packageHash
error:(NSError **)error;
+ (void)downloadPackage:(NSDictionary *)updatePackage
error:(NSError **)error;
+ (void)applyPackage:(NSString *)packageHash;
+ (void)applyPackage:(NSDictionary *)updatePackage
error:(NSError **)error;
@end