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
阅读(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
阅读(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
阅读(0)
推荐(0) 编辑
getPluginInfo 获取插件路径
摘要:getPluginInfo ^7.8 返回路径和插件版本等信息,支持获取目标模块的插件路径 #请求参数 Prop Type Comment folder String 功能模块的名称,比如'plugin-menu' 30014 菜单组件。如 folder 参数可为空 #引入接口模块 import b
阅读全文
posted @
2024-12-27 09:26
AtlasLapetos
阅读(6)
推荐(0) 编辑
addEventListener 监听App事件
摘要:addEventListener ^7.8 此监听 Key 用于接收设备上报信息,当 APP 收到本设备的上报消息时,触发此监听 #请求参数 Prop Type Comment params String 事件名称 #详细的 app 消息类型(messageType)请参考 messageType
阅读全文
posted @
2024-12-27 09:26
AtlasLapetos
阅读(1)
推荐(0) 编辑
fireGlobalEvent 发送全局通知
摘要:fireGlobalEvent ^7.8 发送全局通知,通过 addEventListener 方法来异步接收消息 #请求参数 Prop Type Comment event String 事件名 param Object 传送的数据 #引入接口模块 import bridge from '@min
阅读全文
posted @
2024-12-27 09:26
AtlasLapetos
阅读(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
阅读(7)
推荐(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
阅读(4)
推荐(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
阅读(4)
推荐(0) 编辑