其他分享
首页 > 其他分享> > android – 如何在一个区域中添加多个信标?

android – 如何在一个区域中添加多个信标?

作者:互联网

根据Estimote

There is almost no limit to how many beacons can be included in a single region (technically, it’s over 4 billion).

我们如何在一个区域中添加多个信标进行监控?

我们创建一个这样的区域:

UUID ESTIMOTE_PROXIMITY_UUID = UUID.fromString("B9407F30-F5F8-4568-AFF9-25556B57FE6D");
Region ALL_ESTIMOTE_BEACONS = new Region("regionId", ESTIMOTE_PROXIMITY_UUID, null, null);

解决方法:

an Estimote community manager开始:

If a region is defined by UUID or UUID + Major, then every beacons with this UUID (or UUID + Major) is included

这意味着如果我有两个具有相同UUID和Major的信标,并且如果我创建了Region,则应该发现属于该Region的所有信标.

例:

UUID ESTIMOTE_PROXIMITY_UUID = UUID.fromString("B9407F30-F5F8-466E-AFF9-25556B57FE6D");
Region ALL_ESTIMOTE_BEACONS = new Region("regionId", major, null, null); 

标签:android,ibeacon-android,estimote,android-ibeacon
来源: https://codeday.me/bug/20190528/1168203.html