文章分类 -  MiniX自绘渲染跨平台框架

上一页 1 2 3 4 5 6 ··· 8 下一页
deleteDownloadFile 删除文件下载相关信息
摘要:deleteDownloadFile ^8.11 删除文件下载相关信息。会删除已下载的文件和断点续传的信息。再次下载时会重新开始下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录, 阅读全文
posted @ 2024-12-28 15:06 AtlasLapetos 阅读(30) 评论(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 阅读(13) 评论(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 阅读(7) 评论(0) 推荐(0)
getDownloadFileInfo 获取文件的下载信息
摘要:getDownloadFileInfo ^8.11 获取文件的下载信息,包括下载进度和状态。一般在页面初始化时调用。如在当前页面下载了 20%,退出页面,再次进入时只是显示当前下载进度时可以调用该方法 #请求参数 Prop Type Required Default Comment download 阅读全文
posted @ 2024-12-28 15:05 AtlasLapetos 阅读(53) 评论(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 阅读(8) 评论(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 阅读(4) 评论(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 阅读(3) 评论(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 阅读(8) 评论(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 阅读(4) 评论(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 阅读(8) 评论(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 阅读(10) 评论(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 阅读(4) 评论(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 阅读(4) 评论(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 阅读(3) 评论(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 阅读(6) 评论(0) 推荐(0)
encodeAES128 AES128 加密
摘要:encodeAES128 ^7.10 AES128 加密 #请求参数 Prop Type Default Comment encode String N/A 待加密的密文 key String N/A AES128 密钥,选传参数,如果不传则取原生的密钥 #引入接口模块 import bridge 阅读全文
posted @ 2024-12-28 14:37 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
decodeAES128 AES128 解密
摘要:decodeAES128 ^7.10 AES128 解密 #请求参数 Prop Type Default Comment decode String N/A 待解密的密文 key String N/A AES128 密钥,选传参数,如果不传则取原生的密钥 #引入接口模块 import bridge 阅读全文
posted @ 2024-12-27 09:36 AtlasLapetos 阅读(3) 评论(0) 推荐(0)
encrypt 加密
摘要:encrypt ^6.8 加密 #请求参数 Prop Type Value Comment type String `[ md5 sha1 data String - 需要加密的数据 key String - type 为 hmac_sha1 时必填 #引入接口模块 import bridge fr 阅读全文
posted @ 2024-12-27 09:36 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
getTodaySteps 获取今日步数。只支持 ios
摘要:getTodaySteps ^8.11 获取今日步数。只支持 ios #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getTodaySteps() .then((res) => { co 阅读全文
posted @ 2024-12-27 09:36 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
stopLocationUpdate 取消实时地理位置监听
摘要:stopLocationUpdate ^6.8 取消实时地理位置监听 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .stopLocationUpdate() .then((res) => 阅读全文
posted @ 2024-12-27 09:36 AtlasLapetos 阅读(8) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 8 下一页