没有合适的资源?快使用搜索试试~ 我知道了~
bluetooth:获取或设置蓝牙状态
共10个文件
js:3个
editorconfig:1个
md:1个
需积分: 13 0 下载量 38 浏览量
2021-04-30
09:37:43
上传
评论
收藏 4KB ZIP 举报
温馨提示
蓝牙 获取或设置蓝牙状态。 当前仅OS X系统 安装 $ npm install --save bluetooth 用法 const bluetooth = require ( 'bluetooth' ) ; bluetooth . isOn ( ) . then ( state => { console . log ( state ) ; //=> false } ) ; bluetooth . on ( ) . then ( state => { console . log ( 'Bluetooth state changed to on' ) ; } ) ; bluetooth . off ( ) . then ( state => { console . log ( 'Bluetooth state changed to off' ) ; } ) ; bluetooth
资源推荐
资源详情
资源评论
收起资源包目录
bluetooth-master.zip (10个子文件)
bluetooth-master
.gitattributes 12B
test.js 263B
license 1KB
.travis.yml 72B
.editorconfig 231B
.gitignore 13B
index.js 57B
readme.md 1KB
cli.js 758B
package.json 763B
共 10 条
- 1
资源评论
李青廷Austin
- 粉丝: 21
- 资源: 4612
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功