随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 80424

文章分类 -  MiniX自绘渲染跨平台框架 / 接口. / FileStorage 文件/存储

deleteDownloadFile 删除文件下载相关信息
摘要:deleteDownloadFile ^8.11 删除文件下载相关信息。会删除已下载的文件和断点续传的信息。再次下载时会重新开始下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录, 阅读全文
posted @ 2024-12-28 15:06 AtlasLapetos 阅读(15) 评论(0) 推荐(0) 编辑
pauseDownloadFile 暂停文件下载
摘要:pauseDownloadFile ^8.11 暂停文件下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录,默认目录为 WeexApp/downFiles. downloadPat 阅读全文
posted @ 2024-12-28 15:06 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
startDownloadFile 开始文件下载
摘要:startDownloadFile ^8.11 开始文件下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录,默认目录为 WeexApp/downFiles. downloadPat 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
getDownloadFileInfo 获取文件的下载信息
摘要:getDownloadFileInfo ^8.11 获取文件的下载信息,包括下载进度和状态。一般在页面初始化时调用。如在当前页面下载了 20%,退出页面,再次进入时只是显示当前下载进度时可以调用该方法 #请求参数 Prop Type Required Default Comment download 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getFileList 获取当前 weex 应用已经保存的文件
摘要:getFileList ^6.8 获取当前 weex 应用已经保存的文件 #请求参数 Prop Type Value Comment filePath String - 获取文件列表的文件夹 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
isFileExist 判断当前文件是否存在
摘要:isFileExist ^6.8 判断当前文件是否存在 #请求参数 Prop Type Value Comment filePath String - 需要判断的文件/文件夹 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
deleteFile 删除文件 / 文件夹
摘要:deleteFile ^6.8 删除文件 / 文件夹 #请求参数 Prop Type Value Comment filePath String - 需要删除的文件/文件夹 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 l 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
appendFile 文件追加内容
摘要:appendFile ^6.8 文件追加内容 #请求参数 Prop Type Value Comment filePath String - 需要追加的文件 data String - 需要加密的数据 #引入接口模块 import bridge from '@minix-iot/etsbridge- 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
saveFile 保存文件到本地
摘要:saveFile ^6.8 保存文件到本地 #请求参数 Prop Type Value Comment data String - 需要保存的内容 filePath String - 需要保存的结果文件 #引入接口模块 import bridge from '@minix-iot/etsbridge 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
renameFile 重命名文件
摘要:renameFile ^6.8 重命名文件 #请求参数 Prop Type Value Comment srcPath String - 需要重命名的原文件 destPath String - 需要重命名的结果文件 #引入接口模块 import bridge from '@minix-iot/ets 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
readFile 读取文件内容
摘要:readFile ^6.8 读取文件内容 #请求参数 Prop Type Value Comment filePath String - 需要读取的的文件 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 let params 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
makeDir 新建文件夹
摘要:makeDir ^6.8 新建文件夹 #请求参数 Prop Type Value Comment filePath String - 需要创建的文件夹 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 let params = 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
copyFile 复制文件
摘要:copyFile ^6.8 复制文件 #请求参数 Prop Type Value Comment srcPath String - 需要复制的文件 destPath String - 复制的新文件路径 #引入接口模块 import bridge from '@minix-iot/etsbridge- 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
unzip 解压文件
摘要:unzip ^6.8 解压文件 #请求参数 Prop Type Value Comment zipFilePath String - 需要解压的文件 targetPath String - 解压的结果文件 #引入接口模块 import bridge from '@minix-iot/etsbridg 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑
zip 压缩文件
摘要:zip ^6.8 压缩文件 #请求参数 Prop Type Value Comment srcFilePath Array - 需要压缩的文件 zipFilePath String - 压缩的结果文件 #引入接口模块 import bridge from '@minix-iot/etsbridge- 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(0) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示