10#import <Foundation/Foundation.h>
15NS_ASSUME_NONNULL_BEGIN
20@protocol StoreDownloadManagerDelegate <NSObject>
53@property(nonatomic, readonly)
unsigned int numTasks;
70- (nullable NSDictionary *)getTuneInfoFromUnzip:(nullable
KUnzip *)unzip;
79- (instancetype)initWithTasks:(nullable NSArray *)tasks
80 delegate:(nullable id<StoreDownloadManagerDelegate>)delegate;
Reads named entries out of one packed archive.
Definition KUnzip.h:22
Runs a list of store download tasks one after another, verifying each pack's trailing MD5 digest,...
Definition StoreDownloadManager.h:49
unsigned int numTasks
The number of tasks.
Definition StoreDownloadManager.m:125
void start()
Starts downloading the first task.
Definition StoreDownloadManager.m:142
void cancel()
Cancels the in-flight download.
Definition StoreDownloadManager.m:152
float overallProgress
The progress across all tasks, 0…1.
Definition StoreDownloadManager.m:135
float currentProgress
The current task's download progress, 0…1.
Definition StoreDownloadManager.m:130
unsigned int currentIndex
The index of the task currently downloading.
Definition StoreDownloadManager.h:51