Class FenceGeotrigger
A Geotrigger that defines regions or fences to be monitored using a GeotriggerMonitor.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class FenceGeotrigger : Geotrigger
Remarks
You can monitor areas of interest with a FenceGeotrigger using spatial rules like enter or exit. This type of operation is also known as "Geofencing".
Three main components comprise a FenceGeotrigger:
- The GeotriggerFeed that is monitored for changes - usually the device location read from a LocationDataSource.
-
The FenceRuleType that describes the check that is performed with the feed and fence data
- for example, "enters within 50 meters of".
- The FenceParameters that the feed data are evaluated against. For example, a set of polygon features representing areas of interest. The FenceParameters can cover many features or graphics that are checked.
Constructors
Name | Description |
---|---|
FenceGeotrigger(GeotriggerFeed, FenceRuleType, FenceParameters) | Initializes a new instance of the FenceGeotrigger class |
FenceGeotrigger(GeotriggerFeed, FenceRuleType, FenceParameters, ArcadeExpression, String) | Initializes a new instance of the FenceGeotrigger class with an expression and a name. |
Properties
Name | Description |
---|---|
EnterExitSpatialRelationship | Gets or sets the spatial relationship that determines whether a fence polygon has been entered or exited. |
FeedAccuracyMode | Gets or sets the FenceGeotriggerFeedAccuracyMode value that describes how a FenceGeotrigger will use accuracy information from a GeotriggerFeed. |
FenceParameters | Gets the FenceParameters that will be evaluated against. |
RuleType | Gets the FenceRuleType that describes the check performed with the feed and fence data. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.12 - 100.15 |
.NET 5 | 100.12 |
.NET Core 3.1 | 100.12 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 100.15 |