Show / Hide Table of Contents

Class GeotriggersInfo

Presents a set of Geotrigger objects defined for a GeoModel.

Inheritance
Object
GeotriggersInfo
Implements
ILoadable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class GeotriggersInfo : ILoadable
Remarks

The author of a Map or a Scene can optionally specify one or more Geotrigger conditions to be monitored when using the data. Once this type is loaded, review the list of Geotriggers and create a GeotriggerMonitor to monitor each.

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

  • Get the GeotriggersInfo from the GeotriggersInfo property.
  • Load the GeotriggersInfo to populate the Geotriggers list.
  • For each Geotrigger in the list, check whether the Feed is of type LocationGeotriggerFeed.
  • Set the LocationDataSource to your LocationDataSource - for example, using the DataSource.
  • Create a GeotriggerMonitor for each Geotrigger you want to use.
  • Connect to notifications sent by the GeotriggerMonitor.
  • Call StartAsync() to begin monitoring.

Properties

Name Description
Geotriggers

Gets the set of Geotrigger objects defined for a GeoModel.

LoadError

Gets the Exception associated with the last load error.

LoadStatus

Gets the load status.

Methods

Name Description
CancelLoad()

Cancel loading metadata for the object.

LoadAsync()

Load the metadata for the object asynchronously.

RetryLoadAsync()

Loads or retries loading metadata for the object asynchronously.

Events

Name Description
Loaded

Event that is raised when the object is done loading.

LoadStatusChanged

Event that is raised when the LoadStatus property changes.

Applies to

TargetVersions
.NET Standard 2.0100.14 - 100.15
.NET 6.0100.14 - 100.15
.NET 6.0 Windows100.14 - 100.15
.NET Framework100.14 - 100.15
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 100.15
In This Article
Back to top Copyright © 2022 Esri.