第三方应用开发 客户端API WECOM-JSSDK iBeacon 获取已搜索到的设备
获取已搜索到的设备
最后更新:2023/02/23
可联系渠道经理采购或代理智慧硬件接口已支持设备 联系渠道经理
获取已搜索到的设备
最后更新:2023/02/23

目录

  • ww.getBeacons([params])
  • 功能描述
  • 参数说明
  • params: Object
  • 返回说明
  • ww.getBeacons([params])

    兼容性:企业微信

    功能描述

    获取所有已搜索到的 iBeacon 设备。

    ww.getBeacons()

    参数说明

    params: Object

    属性类型默认值必填说明最低版本
    successFunction

    成功回调

    failFunction

    失败回调

    cancelFunction

    取消回调

    completeFunction

    完成回调

    返回说明

    Promise<Object>

    属性类型默认值必填说明最低版本
    errMsgstring

    通用错误信息

    errCodenumber

    通用错误码

    beaconsObject[]

    iBeacon 设备列表

    属性类型默认值必填说明最低版本
    uuidstring

    iBeacon 设备广播的 uuid

    majorstring

    iBeacon 设备的主 id

    minorstring

    iBeacon 设备的次 id

    proximitynumber

    表示设备距离的枚举值

    accuracynumber

    iBeacon 设备的距离

    rssinumber

    表示设备的信号强度

    上一篇
    停止搜索设备
    下一篇
    监听设备更新