From eeb0fad802f9558eb74c6964480b38b49e016c45 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 06 四月 2023 17:40:08 +0800 Subject: [PATCH] 1.增加不能app配网提示页功能 2.修改部分或计划语言 --- EZSDK/EZSDK/SDK/include/modules/EZRecordDownloadTask.h | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/EZSDK/EZSDK/SDK/include/modules/EZRecordDownloadTask.h b/EZSDK/EZSDK/SDK/include/modules/EZRecordDownloadTask.h index b38f72d..ba50a2a 100644 --- a/EZSDK/EZSDK/SDK/include/modules/EZRecordDownloadTask.h +++ b/EZSDK/EZSDK/SDK/include/modules/EZRecordDownloadTask.h @@ -36,7 +36,7 @@ /** 鏈湴瀛樻斁璺緞 */ -@property (nonatomic,strong) NSString *saveFilePath; +@property (nonatomic, strong) NSString *saveFilePath; /** 缁撴潫鍥炶皟 @@ -47,6 +47,11 @@ 澶辫触鍥炶皟 */ @property (nonatomic, copy) void(^failed)(NSError *error); + +/** + 宸蹭笅杞芥枃浠跺ぇ灏忓洖璋� + */ +@property (nonatomic, copy) void(^downloading)(NSUInteger downloadSize); /** 寮�濮嬩笅杞� @@ -66,8 +71,16 @@ @param finshed 缁撴潫鍥炶皟 @param failed 澶辫触鍥炶皟 */ -- (void) setDownloadCallBackWithFinshed:(void(^)(EZRecordDownloaderStatus statusCode))finshed - failed:(void(^)(NSError *error))failed; +- (void)setDownloadCallBackWithFinshed:(void(^)(EZRecordDownloaderStatus statusCode))finshed + failed:(void(^)(NSError *error))failed; + +/** + 璁剧疆涓嬭浇杩涘害鍥炶皟 + + @param downloading 涓嬭浇鏂囦欢澶у皬鍥炶皟 + */ +- (void)setDownloadCallBackWithDownloadSize:(void(^)(NSUInteger downloadSize))downloading; + @end NS_ASSUME_NONNULL_END -- Gitblit v1.8.0