Geotrigger

sealed class Geotrigger

A condition monitored by a GeotriggerMonitor. A Geotrigger defines a condition that can be continually monitored in real time. After the condition is met, the Geotrigger defines how a GeotriggerNotificationInfo can be used to inform the user.

A GeotriggerMonitor, created with the Geotrigger, handles monitoring and reporting.

You can create a FenceGeotrigger describing target areas, covered by spatial rules such as enter or exit. This type of spatial monitoring is also known as "Geofencing".

If a Geotrigger is defined in a GeotriggersInfo, check whether the GeotriggerFeed is of type LocationGeotriggerFeed and, if so, supply a com.arcgismaps.location.LocationDataSource to provide your device location. Set the LocationGeotriggerFeed.locationDataSource to your com.arcgismaps.location.LocationDataSource - for example, using the com.arcgismaps.mapping.view.LocationDisplay.dataSource.

Since

200.1.0

Inheritors

Properties

Link copied to clipboard

The GeotriggerFeed that is monitored for changes. You can construct a LocationGeotriggerFeed from any com.arcgismaps.location.LocationDataSource. Typically, this shows the device location based on GPS, but can be any com.arcgismaps.location.LocationDataSource.

Link copied to clipboard

A unique ID for the Geotrigger.

Link copied to clipboard

An com.arcgismaps.arcade.ArcadeExpression that controls the notification details when a Geotrigger is met. The expression uses the Arcade language to generate notification information that can be:

Link copied to clipboard

The name of the Geotrigger.

Link copied to clipboard

A list of strings indicating the set of requested actions when a notification is delivered. This property shows the full list of recommended actions that the Geotrigger author intends to be taken. Note that there is no requirement to take any action when a notification is delivered, but these provide a way to understand the Geotrigger author's intention. Use this property to: