Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找有关“addProximityAlert()”如何工作的信息
每隔多长时间检查一次?如果我们使用多个 addProximmityAlert(,它们是否独立工作(它们是否单独检查)会发生什么?
SDK 文档仅说明了设备暂停时的时间间隔(4 分钟),但没有说明设备唤醒时的时间间隔,所以我认为它“对于大多数用途来说都可以”。
接近警报被添加到单个 HashMap(选中此),因此它们会被逐一检查以了解实际位置。