registerLeaveBeaconFenceEvent
注册监听远离 beacon 设备范围事件
引入
import { registerLeaveBeaconFenceEvent } from '@ray-js/ray';
需引入
DeviceKit,且在>=2.4.0版本才可使用
参数
Object object
| 属性 | 类型 | 默认值 | 必填 | 说明 |
|---|---|---|---|---|
| deviceId | string |
是 | 设备模型 设备 id | |
| complete | function |
否 | 接口调用结束的回调函数(调用成功、失败都会执行) | |
| success | function |
否 | 接口调用成功的回调函数 | |
| fail | function |
否 | 接口调用失败的回调函数 |
unregisterLeaveBeaconFenceEvent
注册监听远离 beacon 设备范围事件
引入
import { unregisterLeaveBeaconFenceEvent } from '@ray-js/ray';<

最低0.47元/天 解锁文章
1336

被折叠的 条评论
为什么被折叠?



