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

上一页 1 ··· 3 4 5 6 7 8 下一页
showToast 显示 Toast
摘要:showToast ^6.8 显示 Toast #请求参数 Prop Type Comment title String 提示的内容 duration Number 提示的延迟时间 bgStyle String black:黑底白字,默认值,white:白底黑字 #引入接口模块 import bri 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(10) 评论(0) 推荐(0)
bindThirdParty 绑定第三方账号.
摘要:bindThirdParty ^7.8 绑定第三方账号 #请求参数 Prop Type Default Comment type String N/A wx #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 const par 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
deleteAuthorizeUser 取消授权的接口
摘要:deleteAuthorizeUser ^7.8 取消授权的接口 #请求参数 Prop Type Default Comment thirtyCode String N/A (第三方的 code,中台分配的)或者(thirtyCode 优先) deviceId String N/A xxx(设备 I 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
checkAuthorize 查询是否授权的接口
摘要:checkAuthorize ^7.8 查询是否授权的接口 #请求参数 Prop Type Default Comment thirtyCode String N/A (第三方的 code,中台分配的)或者(thirtyCode 优先) deviceId String N/A xxx(设备 ID) 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
getAuthorizeUserControl 用户授权控制的接口.
摘要:getAuthorizeUserControl ^7.8 用户授权控制的接口 #请求参数 Prop Type Default Comment thirtyCode String N/A (第三方的 code,中台分配的)或者(thirtyCode 优先) deviceId String N/A (设 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(9) 评论(0) 推荐(0)
getAuthToken 获取授权 token,24 小时有效
摘要:getAuthToken ^7.8 获取授权 token,24 小时有效 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getAuthToken() .then((res) => { c 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
getUnionId 用户标识 unionid 主要用于微信、QQ 用户系统打通
摘要:getUnionId ^7.8 用户标识 unionid 主要用于微信、QQ 用户系统打通 #请求参数 Prop Type Default Comment type String N/A wx|qq #引入接口模块 import bridge from '@minix-iot/etsbridge-s 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(14) 评论(0) 推荐(0)
logout 退出登录.
摘要:logout ^7.8 退出登录 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .logout() .then((res) => { console.log(res) }) .catch( 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
getUserInfo 获取登录态信息
摘要:getUserInfo ^7.8 获取登录态信息 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getUserInfo() .then((res) => { console.log(re 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(31) 评论(0) 推荐(0)
getLoginInfo 获取身份信息、token 等
摘要:getLoginInfo ^7.8 获取身份信息、token 等 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getLoginInfo() .then((res) => { conso 阅读全文
posted @ 2024-12-27 09:27 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
getDiablomode 获取当前是否是暗黑模式
摘要:getDiablomode ^8.7 获取当前是否是暗黑模式 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getDiablomode() .then((res) => { consol 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
scanForPlugins 插件页面的扫一扫
摘要:scanForPlugins^8.2 插件页面的扫一扫 #请求参数 Prop Type Default Comment types Array ["1","2","3"] 定制扫一扫类型 1 扫条码 2 拍食材 3 扫食谱 defaultType Number N/A 默认选择拍食材 #引入接口模块 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(2) 评论(0) 推荐(0)
interfaceForThirdParty 调用第三方SDK方法
摘要:interfaceForThirdParty ^7.8 提供给前端页面调用插件第三方 SDK 接口 #请求参数 Prop Type Comment messageType String 第三方 SDK 用来判断接口名称 messageContent JSON/String 业务参数,第三方 SDK 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(1) 评论(0) 推荐(0)
getPluginInfo 获取插件路径
摘要:getPluginInfo ^7.8 返回路径和插件版本等信息,支持获取目标模块的插件路径 #请求参数 Prop Type Comment folder String 功能模块的名称,比如'plugin-menu' 30014 菜单组件。如 folder 参数可为空 #引入接口模块 import b 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
addEventListener 监听App事件
摘要:addEventListener ^7.8 此监听 Key 用于接收设备上报信息,当 APP 收到本设备的上报消息时,触发此监听 #请求参数 Prop Type Comment params String 事件名称 #详细的 app 消息类型(messageType)请参考 messageType 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
fireGlobalEvent 发送全局通知
摘要:fireGlobalEvent ^7.8 发送全局通知,通过 addEventListener 方法来异步接收消息 #请求参数 Prop Type Comment event String 事件名 param Object 传送的数据 #引入接口模块 import bridge from '@min 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
getSystemInfo 获取系统信息
摘要:getSystemInfo ^6.8 获取系统信息 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getSystemInfo() .then((res) => { console.log 阅读全文
posted @ 2024-12-27 09:26 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
log 打印日志
摘要:log ^6.8 打印日志 #请求参数 Prop Type Comment level String 日志级别 message String 日志内容 #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 let params = 阅读全文
posted @ 2024-12-26 15:04 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
canlUse 版本可用性
摘要:canlUse ^6.8 获取某个 1 API 在当前版本是否可用 #请求参数 Prop Type Default Comment params String N/A 接口 url #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用 阅读全文
posted @ 2024-12-26 15:04 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
快速上手
摘要:安装 #一. 安装包 npm 安装 npm i -S @minix-iot/etsbridge-sdk 或者 npm install @minix-iot/etsbridge-sdk --save yarn 安装 yarn add @minix-iot/etsbridge-sdk 升级接口模块 使用 阅读全文
posted @ 2024-12-26 15:04 AtlasLapetos 阅读(5) 评论(0) 推荐(0)

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