iBeacons:检测背景中的邻近度变化 [英] iBeacons: Detect proximity change in background

查看:64
本文介绍了iBeacons:检测背景中的邻近度变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试了解您应该如何在背景中检测邻近度变化. 我进入范围的唯一窗口是当我进入一个区域时,但这可能距离很远.

I'm trying to understand how you are supposed to detect proximity changes in the background. The only window I get to range is when I enter a region, but this might be pretty far away.

我想在用户输入"near"或"imimidiate"时显示一些内容,但是如果您得到的是"didEnterRegion",而不是站在那里,然后靠近信标,您将没有更多的测距时间,因为您仍在同一地区.

I would like to present something when the user enters "near" or "immidiate", but if you get "didEnterRegion" at far, than stand around, then approach the beacon, you don't get any more ranging time, because you are still in the same region.

是否有办法延长测距"时间以使用户接近信标,还是可以使"enterRegion"发生在与"far"不同的距离处?

Is there a way to either extend the "ranging" time to let the user get near the beacon, or can you make "enterRegion" happen at a different proximity than "far"?

推荐答案

背景测距时间限制为几秒钟.

Background ranging time is limited to a few seconds as Charles says in his answer.

如果需要将动作延迟到临近区域,则必须使用可降低发射功率的信标,以使发射半径更小. RadiusNetworks的 RadBeacon 产品具有用于此确切目的的可配置性.

If you need to delay action until you are in the immediate region, then you must use iBeacons that allow you to reduce the transmit power so the transmission radius is smaller. The RadBeacon product from RadiusNetworks has this configurability for this exact purpose.

如果将RadBeacon配置为具有最小发射功率,则手机只有在几英尺远的地方才会检测到它,向您发送进入事件并在此时启动您的有限测距窗口.

If you configure a RadBeacon for minimum transmit power, your phone will not detect it until it is a few feet away, sending you the entry event and starting your limited ranging window at that time.

全部披露:我是Radius Networks的首席工程师.

Full disclosure: I am Chief Engineer for Radius Networks.

这篇关于iBeacons:检测背景中的邻近度变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆