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

上一页 1 2 3 4 5 6 7 8 下一页
sendBlueToothData 发送蓝牙数据
摘要:sendBlueToothData ^7.8 发送蓝牙数据 #请求参数 Prop Type Default Comment mac String N/A 安卓:蓝牙 Mac 地址;iOS:外设 uuid serviceUuid String N/A 服务通道的 uuid writeUuid Stri 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(10) 评论(0) 推荐(0)
readBlueToothData 读取蓝牙数据
摘要:readBlueToothData ^7.8 读取蓝牙数据 #请求参数 Prop Type Default Comment mac String N/A 安卓:蓝牙 Mac 地址;iOS:外设 uuid serviceUuid String N/A 服务通道的 uuid readUuid Strin 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
getAllConnectedDeviceInfo 获取已发现的所有设备信息
摘要:getAllConnectedDeviceInfo ^6.8 获取已发现的所有设备信息 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getAllConnectedDeviceInfo( 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
stopBluetoothDiscovery 结束扫描附近蓝牙设备
摘要:stopBluetoothDiscovery ^6.8 结束扫描附近蓝牙设备 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .stopBluetoothDiscovery() .then( 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
startBluetoothDiscovery 开始扫描附近蓝牙设备
摘要:startBluetoothDiscovery ^6.8 开始扫描附近蓝牙设备 #请求参数 Prop Type Default Comment mac String N/A //安卓:蓝牙 Mac 地址;iOS:外设 uuid name String N/A 筛选的名字 duration Strin 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(13) 评论(0) 推荐(0)
connectBluetooth 连接蓝牙设备
摘要:connectBluetooth ^6.8 连接蓝牙设备 #请求参数 Prop Type Value Comment deviceId String - 安卓参数名为 mac #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
setPageOrientation 切换横竖屏
摘要:setPageOrientation ^8.6 切换横竖屏 #请求参数 object Prop Type Default Comment orientation Number N/A 0:强制竖屏, 1:强制横屏(但会根据不同的横向展示方向调整横屏方向) #引入接口模块 import bridge 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
openNativeSystemSetting 打开指定的系统设置
摘要:openNativeSystemSetting ^7.10 打开指定的系统设置 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .openNativeSystemSetting() .the 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(3) 评论(0) 推荐(0)
setBackHandle 设置是否监控安卓手机物理返回键功能(仅安卓)
摘要:setBackHandle ^7.10 设置是否监控安卓手机物理返回键功能(仅安卓) #请求参数 Prop Type Default Comment isMonitor String N/A on: 打开监控,off: 关闭监控 #引入接口模块 import bridge from '@minix- 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
getAppInfo 按升级策略进行升级
摘要:getAppInfo ^7.10 按升级策略进行升级,如跳转应用市场或者应用内下载,无升级策略返回异常信息。 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .upgradeApp() .t 阅读全文
posted @ 2024-12-27 09:30 AtlasLapetos 阅读(2) 评论(0) 推荐(0)
getBatteryInfo 是否为老人模式
摘要:getBatteryInfo ^6.8 是否为老人模式 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getElderMode() .then((res) => { console.lo 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
getAppInfo 返回版本号
摘要:getAppInfo ^7.10 返回版本号,有升级策略返回策略版本,没有返回当前版本 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getAppNewVersion() .then(( 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
getAppInfo 指明当前 APP 的版本号和环境
摘要:getAppInfo ^7.10 指明当前 APP 的版本号和环境 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getAppInfo() .then((res) => { consol 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
vibrate 使手机发生震动
摘要:vibrate ^7.8 使手机发生震动 #请求参数 Prop Type Default Comment intensity String N/A 1、2、3 表示震动强度,1 是强度最小,3 是强度比较大 #引入接口模块 import bridge from '@minix-iot/etsbrid 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
getBatteryInfo 获取当前设备网络信息
摘要:getBatteryInfo ^6.8 获取当前设备网络信息 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getNetworkStatus() .then((res) => { con 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
stopDeviceMotionListening 停止设备方向监听
摘要:stopDeviceMotionListening ^6.8 停止设备方向监听 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .stopDeviceMotionListening() .t 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
startDeviceMotionListening 设备方向监听
摘要:startDeviceMotionListening ^6.8 设备方向监听 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .startDeviceMotionListening() .t 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
vibrateShort 使手机发生较短时间的振动(15ms)
摘要:vibrateShort ^6.8 使手机发生较短时间的振动(15ms) #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .vibrateShort() .then((res) => { c 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
vibrateLong 使手机发生较长时间的振动(400ms)
摘要:vibrateLong ^6.8 使手机发生较长时间的振动(400ms) #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .vibrateLong() .then((res) => { co 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
stopAccelerometer 停止加速计监听
摘要:stopAccelerometer ^6.8 停止加速计监听 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .stopAccelerometer() .then((res) => { co 阅读全文
posted @ 2024-12-27 09:29 AtlasLapetos 阅读(3) 评论(0) 推荐(0)

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