12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // downloadManager.h
- // 隐私保护
- //
- // Created by xd h on 2024/1/9.
- //
- #import <Foundation/Foundation.h>
- //#import "couldPhoneFileModel.h"
- #import "couldPhoneFileListModel.h"
- #import "uploadFileManager.h"
- #define download_tableName [[NSString alloc] initWithFormat:@"download_tableName_%@",[connectDeviceManager shareInstance].DeviceThirdIdMod.data.sn]
- NS_ASSUME_NONNULL_BEGIN
- @interface downloadManager : NSObject
- //数据库数据
- @property (nonatomic, strong) NSMutableArray * _Nullable databaseArr;
- @property (nonatomic, strong) NSMutableArray * _Nullable downLoadFileModelDataArr;
- @property (nonatomic, strong) couldPhoneFileModel * curDownloadFileModel;
- @property (nonatomic, assign) BOOL isSuspendType;
- @property (nonatomic, assign) BOOL isDownloadIngType;
- @property (nonatomic, assign) NSInteger reDownloadIngSelectIndex;
- @property (nonatomic, assign) BOOL isNewAddTaskType;
- +(downloadManager *)shareInstance;
- #pragma mark 读取数据库数据
- - (void)getDataInDatabaseFun:(BOOL)isReGet complete:(custom_complete_Arr)complete;
- -(void)handleCouldPhoneFileModelToDownloadFileDataFunBy:(NSMutableArray*)indexPathsForSelectedItems complete:(custom_complete_Arr)complete;
- - (void)DownloadFileDoneOneFileFun;
- - (void)DownloadFileFailOneFileFun;
- - (void)DownloadFileChangeingOneFileFun;
- - (void)suspendDownloadFileFun:(BOOL)isSuspendAll;
- - (void)reDownloadFileFunBy:(NSMutableArray*)arr withAll:(BOOL)isAllType;
- //删除本地数据库记录
- - (void)deleteDownloadFileRecordBy:(NSMutableArray *)delArr withDelCache:(BOOL)isDelCache;
- - (void)checkReDownloadFileFun;
- @end
- NS_ASSUME_NONNULL_END
|