简体   繁体   English

Android Beacon 库 didExitRegion 未调用

[英]Android Beacon Library didExitRegion not called

I'm very new to beacons and i'm trying to implement basic detection of an Estimote beacon (virtual via the Estimote iOS App) with the AltBeacon Android Beacon Library.我对信标很陌生,我正在尝试使用 AltBeacon Android Beacon 库实现对 Estimote 信标(虚拟通过 Estimote iOS 应用程序)的基本检测。

When I activate the beacon my app detects it and comes into the "didEnterRegion" callback.当我激活信标时,我的应用会检测到它并进入“didEnterRegion”回调。 But when I power off the beacon / or go away "didExitRegion" is never called.但是当我关闭信标电源/或离开时,“didExitRegion”永远不会被调用。

I use the sample code of http://altbeacon.github.io/android-beacon-library/samples.html我使用http://altbeacon.github.io/android-beacon-library/samples.html的示例代码

What could be the problem?可能是什么问题呢?

Sorry I have asked to fast.对不起,我要求禁食。 After a while (depending on the scan interval) didExitRegion will be called.一段时间后(取决于扫描间隔)didExitRegion 将被调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM