FenceGeotriggerNotificationInfo

Properties

Link copied to clipboard

The com.arcgismaps.mapping.GeoElement from the fence data that meets the FenceGeotrigger condition. The com.arcgismaps.mapping.GeoElement is one of the features or graphics from the FenceParameters used to create the FenceGeotrigger. Inspect the com.arcgismaps.mapping.GeoElement.attributes and com.arcgismaps.mapping.GeoElement.geometry properties for more details.

Link copied to clipboard

The com.arcgismaps.geometry.Geometry used for the fence that satisfies the FenceGeotrigger condition. The original geometry of the FenceGeotriggerNotificationInfo.fenceGeoElement, including any adjustments (such as applying buffers) and projected to WGS84. You can compare this with the com.arcgismaps.location.Location.position of the corresponding GeotriggerNotificationInfo.feedLocation.

Link copied to clipboard

A unique ID for the fence that triggered the notification info. This property will be consistent for all notifications for a given fence. For example, use this ID to group enter and exit events for a specific fence to display the current occupancy.

Link copied to clipboard

Inherited properties

Link copied to clipboard

A set of strings describing recommended actions based on this notification. Optionally, use these strings to determine whether your app will perform custom behavior, such as showing messages or starting/stopping tracking. Note that there is no requirement to take any action when a notification is delivered, but these provide a way to understand the intention of the author of the Geotrigger. This property can be empty.

Link copied to clipboard

A unique ID for the entity within the feed that triggered the notification info. This property is consistent for all notifications for a given feed entity. For example, use this ID to count the number of sites a team member visits.

Link copied to clipboard

A com.arcgismaps.location.Location, received from the feed, that meets the GeotriggerMonitor condition. The com.arcgismaps.location.Location is set if a LocationGeotriggerFeed was used to create the Geotrigger that the GeotriggerMonitor is monitoring. This allows you to access the position and meta-data from the feed, such as the horizontal accuracy, velocity, time stamp and other com.arcgismaps.location.Location.additionalSourceProperties.

Link copied to clipboard

The GeotriggerMonitor that sent this notification. The GeotriggerMonitor evaluates a specific Geotrigger condition that has been met by this GeotriggerNotificationInfo. A single Geotrigger condition can result in multiple, repeat notifications.

Link copied to clipboard

A message that describes the notification. The notification message is the result of evaluating the Geotrigger.messageExpression for the specific objects that triggered this notification. The message could be a hard-coded string or use attributes from an area of interest that was entered to display a custom message.

Link copied to clipboard

A dictionary of optional properties derived from the Geotrigger.messageExpression. Optionally, you can evaluate the com.arcgismaps.arcade.ArcadeExpression to produce properties on top of the basic GeotriggerNotificationInfo.message. You can access this additional information via this dictionary.