mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-2190 Make backgroundTaskId apply to downloads as well. Move backgroundTaskId to the delegate.
This commit is contained in:
committed by
Andrew Grieve
parent
a1d6fc07e8
commit
a588236cbd
@@ -53,7 +53,6 @@ extern NSString* const kOptionsKeyCookie;
|
||||
AndHttpStatus:(int)httpStatus
|
||||
AndBody:(NSString*)body;
|
||||
@property (readonly) NSMutableDictionary* activeTransfers;
|
||||
@property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskID;
|
||||
@end
|
||||
|
||||
@class CDVFileTransferEntityLengthRequest;
|
||||
@@ -65,6 +64,7 @@ extern NSString* const kOptionsKeyCookie;
|
||||
|
||||
@property (strong) NSMutableData* responseData; // atomic
|
||||
@property (nonatomic, strong) NSDictionary* responseHeaders;
|
||||
@property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskID;
|
||||
@property (nonatomic, strong) CDVFileTransfer* command;
|
||||
@property (nonatomic, assign) CDVFileTransferDirection direction;
|
||||
@property (nonatomic, strong) NSURLConnection* connection;
|
||||
|
||||
Reference in New Issue
Block a user