随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

文章分类 -  MeiOS / NFC短距无线通信

cancelWriteNfc 取消写NFC标签的操作
摘要:cancelWriteNfc 取消写NFC标签的操作(美居8.16开始支持该接口) #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 const params = {} this.$bridge . 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(8) 评论(0) 推荐(0) 编辑
startWriteNfc 开始写NFC功能
摘要:startWriteNfc 开始写NFC功能(美居8.16开始支持该接口) #请求参数 Prop Type Required Default Description content Array Y N/A 需要写入的内容,按顺序写入 msg String N '' 弹窗文案(ios) #conten 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(14) 评论(0) 推荐(0) 编辑
startReadNfc 开始读取NFC功能
摘要:startReadNfc 开始读取NFC功能(美居7.9开始支持该接口) #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .startReadNfc(params) .t 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
isSupportNfc 手机是否支持NFC功能
摘要:isSupportNfc 手机是否支持NFC功能(美居7.9开始支持该接口) #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .isSupportNfc(params) 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
getNfcData 获取Nfc数据
摘要:getNfcData 获取Nfc数据 #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .getNfcData(params) .then(res => { this.$a 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
getNfcStatus
摘要:getNfcStatus 获取nfc状态 #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .getNfcStatus(params) .then(res => { thi 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
clearNfcInfo
摘要:clearNfcInfo nfc 进入之后,希望清楚 nfc 数据,则调用这个方法 #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .clearNfcInfo(param 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
getNfcInfo
摘要:getNfcInfo 插件获取当次扫描 NFC 的参数(nfc 中 uri 数据的 action 参数) #请求参数 Prop Type Required Default Description param Object Y {} 请求参数 #接口调用示例 this.$bridge .getNfcI 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
toConfigDevice
摘要:toConfigDevice ssss跳转到配网界面 #请求参数 Prop Type Required Default Description param Object Y {} 属性: labelId:{ Type: String, Default: N/A, Description: nfc标签 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
介绍
摘要:NFC专用接口 NFC 专用接口是一个单独的模块,使用时需要引入nfcModule模块,const nfcModule = weex.requireModule("nfcModule");,如果是感应 NFC 进入插件或者场景,默认在 url 后面增加from=nfc的参数,目前让 weex 页面区 阅读全文
posted @ 2024-12-18 09:23 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示