MapsGeofenceEventProperties Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. MapsGeofenceEventProperties
- com.
public class MapsGeofenceEventProperties
Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).
Constructor Summary
Constructor | Description | |
---|---|---|
MapsGeofenceEventProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
expiredGeofenceGeometryId()
Get lists of the geometry ID of the geofence which is expired relative to the user time in the request. |
java.util.List<Maps |
geometries()
Get lists the fence geometries that either fully contain the coordinate position or have an overlap with the search |
java.util.List<java.lang.String> |
invalidPeriodGeofenceGeometryId()
Get lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request. |
java.lang.Boolean |
isEventPublished()
Get true if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber. |
Maps |
withExpiredGeofenceGeometryId(List<String> expiredGeofenceGeometryId)
Set lists of the geometry ID of the geofence which is expired relative to the user time in the request. |
Maps |
withGeometries(List<MapsGeofenceGeometry> geometries)
Set lists the fence geometries that either fully contain the coordinate position or have an overlap with the search |
Maps |
withInvalidPeriodGeofenceGeometryId(List<String> invalidPeriodGeofenceGeometryId)
Set lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request. |
Maps |
withIsEventPublished(Boolean isEventPublished)
Set true if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber. |
Methods inherited from java.lang.Object
Constructor Details
MapsGeofenceEventProperties
public MapsGeofenceEventProperties()
Method Details
expiredGeofenceGeometryId
public List
Get lists of the geometry ID of the geofence which is expired relative to the user time in the request.
Returns:
geometries
public List
Get lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
Returns:
invalidPeriodGeofenceGeometryId
public List
Get lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
Returns:
isEventPublished
public Boolean isEventPublished()
Get true if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.
Returns:
withExpiredGeofenceGeometryId
public MapsGeofenceEventProperties withExpiredGeofenceGeometryId(List
Set lists of the geometry ID of the geofence which is expired relative to the user time in the request.
Parameters:
Returns:
withGeometries
public MapsGeofenceEventProperties withGeometries(List
Set lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
Parameters:
Returns:
withInvalidPeriodGeofenceGeometryId
public MapsGeofenceEventProperties withInvalidPeriodGeofenceGeometryId(List
Set lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
Parameters:
Returns:
withIsEventPublished
public MapsGeofenceEventProperties withIsEventPublished(Boolean isEventPublished)
Set true if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for