bluetoothCapabilityOfBLEBeacon
设备是否支持 BLEBeacon 能力
引入
import { bluetoothCapabilityOfBLEBeacon } from '@ray-js/ray';
需引入
DeviceKit
,且在>=1.2.6
版本才可使用
参数
Object object
属性 | 类型 | 默认值 | 必填 | 说明 |
---|---|---|---|---|
deviceId | string |
是 | 设备模型 deviceId 设备 Id | |
complete | function |
否 | 接口调用结束的回调函数(调用成功、失败都会执行) | |
success | function |
否 | 接口调用成功的回调函数 | |
fail | function |
否 | 接口调用失败的回调函数 |
👉 立即免费领取开发资源,体验涂鸦 MiniApp 小程序开发。
readBeaconFenceConfig
读取 beaconFence 配置
引入
import { readBeaconFenceConfig } from '@ray-js/ray';
需引入
DeviceKit
,且在>=2.4.0
版本才可使用
参数
Object object
属性 | 类型 | 默认值 |
---|