offBLEScanBindDevice
取消监听:扫描到设备后进行通知
引入
import { offBLEScanBindDevice } from '@ray-js/ray';
需引入
DeviceKit
,且在>=3.0.0
版本才可使用
参数
function callback
取消监听:扫描到设备后进行通知的回调函数
回调参数 Object res
属性 | 类型 | 默认值 | 必填 | 说明 |
---|---|---|---|---|
deviceId | string |
是 | 扫描到的设备 ID |
offBLETransparentDataReport
取消监听:BLE(thing)设备数据透传通道上报通知
引入
import { offBLETransparentDataReport } from '@ray-js/ray';
需引入
DeviceKit
,且在>=3.0.0
版本才可使用
参数
function callback
取消监听:BLE(thing)设备数据透传通道上报通知的回调函数
回调参数 Object res
属性 | 类型 | 默认值 | 必填 | 说明 |
---|---|---|---|---|
deviceId | string |