Show / Hide Table of Contents

Class Geotrigger

A condition monitored by a GeotriggerMonitor.

Inheritance
Object
Geotrigger
FenceGeotrigger
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 abstract class Geotrigger
Remarks

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 LocationDataSource to provide your device location. Set the LocationDataSource to your LocationDataSource - for example, using the DataSource.

Properties

Name Description
Feed

Gets the GeotriggerFeed that is monitored for changes.

GeotriggerId

Gets a unique ID for the Geotrigger.

MessageExpression

Gets or sets an ArcadeExpression that controls the notification details when a Geotrigger is met.

Name

Gets or sets the name of the Geotrigger.

RequestedActions

Gets a list of strings indicating the set of requested actions when a notification is delivered.

Applies to

TargetVersions
.NET Standard 2.0100.12 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.15
In This Article
Back to top Copyright © 2022 Esri.