你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MapsGeofenceEvent interface

Geofence 事件(GeofenceEntered、GeofenceExited、GeofenceResult)的 EventGridEvent 的数据属性的架构。

属性

expiredGeofenceGeometryId

相对于请求中的用户时间过期的地理围栏的几何图形 ID 的列表。

geometries

列出完全包含坐标位置的围栏几何图形,或者与围栏周围的 searchBuffer 重叠。

invalidPeriodGeofenceGeometryId

地理围栏的几何图形 ID 列表,该地理围栏相对于请求中的用户时间无效。

isEventPublished

如此 如果至少一个事件发布到 Azure Maps 事件订阅服务器,则为 false(如果未将事件发布到 Azure Maps 事件订阅服务器)。

属性详细信息

expiredGeofenceGeometryId

相对于请求中的用户时间过期的地理围栏的几何图形 ID 的列表。

expiredGeofenceGeometryId: string[]

属性值

string[]

geometries

列出完全包含坐标位置的围栏几何图形,或者与围栏周围的 searchBuffer 重叠。

geometries: MapsGeofenceGeometry[]

属性值

invalidPeriodGeofenceGeometryId

地理围栏的几何图形 ID 列表,该地理围栏相对于请求中的用户时间无效。

invalidPeriodGeofenceGeometryId: string[]

属性值

string[]

isEventPublished

如此 如果至少一个事件发布到 Azure Maps 事件订阅服务器,则为 false(如果未将事件发布到 Azure Maps 事件订阅服务器)。

isEventPublished: boolean

属性值

boolean