title: Taro.offHCEMessage(callback)
sidebar_label: offHCEMessage
接收 NFC 设备消息事件,取消事件监听。
类型
(callback: (...args: any[]) => any) => void
参数
参数 | 类型 | 说明 |
---|---|---|
callback | (…args: any[]) => any |
接收 NFC 设备消息事件的回调函数 |
API 支持度
API | 微信小程序 | H5 | React Native |
---|---|---|---|
Taro.offHCEMessage | ✔️ |