Geotrigger Notification Info
Provides details about a Geotrigger condition that has been met. A GeotriggerNotificationInfo is sent by a GeotriggerMonitor whenever the condition described by its Geotrigger is met. The Geotrigger also defines how the GeotriggerNotificationInfo should be created. For example, it describes what message should be displayed to the user.
Since
200.1.0
Inheritors
Properties
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.
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.
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.
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.
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.
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.