我们可以创建不同的地理围栏吗? [英] Can we creat different group of geofence ?

查看:56
本文介绍了我们可以创建不同的地理围栏吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个项目,我需要3组不同的地理围栏,每个地理围栏都会在输入时执行不同的功能。可以这样做以及如何或是否有另一种解决方案?

I am working on a project and i need 3 different group of geofences where each of them execute a different function when entered. Can this be done and how or is there another solution ?

推荐答案

创建地理围栏时,你可以将它们放在三个不同的列表中。然后,当地理围栏状态发生变化时,您可以获得Geofence的ID,并根据哪个列表包含id,它将执行不同的功能。

when you create the geofences, you could put them in three different lists. Then, when a geofence state change occurs, you could get the Geofence's ID and depending on which list contains the id, it will be executed a different function.

您还可以查看这个:

https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.geolocation.geofencing.aspx

https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.geolocation.geofencing.aspx

希望这有帮助。

问候,

Francesco G. Pirillo

Francesco G. Pirillo


这篇关于我们可以创建不同的地理围栏吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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