GeotriggersInfo

Presents information on a set of Geotrigger objects defined for a com.arcgismaps.mapping.GeoModel. The author of an com.arcgismaps.mapping.ArcGISMap or an com.arcgismaps.mapping.ArcGISScene can optionally specify one or more Geotrigger conditions to be monitored when using the data. Once this type is loaded, review the list of GeotriggersInfo.geotriggers and create a GeotriggerMonitor to monitor each.

When a Geotrigger is defined with a GeotriggerFeed of type LocationGeotriggerFeed, you must supply a com.arcgismaps.location.LocationDataSource to provide your device location. The general workflow is as follows:

Geotriggers can also take into account floors within buildings. If the GeotriggersInfo is defined as part of a com.arcgismaps.mapping.GeoModel that includes a valid com.arcgismaps.mapping.floor.GeoModelFloorDefinition, then the list of GeotriggersInfo.geotriggers can take floor information into account. All layers and tables that are used by the floor definition are loaded when a floor aware GeotriggerMonitor is started. To take floors into account when monitoring geotriggers, use a com.arcgismaps.location.LocationDataSource that includes floor details, such as the com.arcgismaps.location.IndoorsLocationDataSource.

Since

200.1.0

Properties

Link copied to clipboard

The set of Geotrigger objects defined for a com.arcgismaps.mapping.GeoModel. This list is populated with Geotrigger conditions defined by the author of the map or scene when the GeotriggersInfo is com.arcgismaps.LoadStatus.Loaded. If no geotriggers are defined, this list will remain empty.

Inherited properties

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.