Class FeatureFenceParameters
Geotrigger fence data created from features.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class FeatureFenceParameters : FenceParameters
Remarks
The features that create a FeatureFenceParameters provide a set of geometries (and attributes) that define targets for the Geotrigger. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", the fence data are "my target areas" and each Feature is one target area.
Create a FeatureFenceParameters using a FeatureTable. The features can have point, line, or polygon geometry. For points and lines, you must also supply a BufferDistance. Each feature in the table represents a single fence.
You can filter features using attributes or geometry by supplying a where clause. For example, you could further refine "my target areas" to be "my target areas that are open and are in California".
The number of features fetched by querying an online table is limited by the layer's MaxRecordCount. Service feature tables that support pagination (SupportsPagination) are not subject to the maximum feature count limit.
When saving new geotriggers into a web map, ensure all feature layers are assigned a unique Id. This ensures the saved FeatureTable is associated with the corresponding layer. When the saved Map and GeotriggersInfo are loaded, the layer and geotrigger will use the same FeatureTable.
Constructors
Name | Description |
---|---|
FeatureFenceParameters(FeatureTable) | Initializes a new instance of the FeatureFenceParameters class using all of the features in
the |
FeatureFenceParameters(FeatureTable, Double) | Initializes a new instance of the FeatureFenceParameters class using all of the features in
the |
Properties
Name | Description |
---|---|
AreaOfInterest | Gets or sets the geometry that can be used to spatially filter fences. |
FeatureTable | Gets the FeatureTable that contains the features to use in the FeatureFenceParameters. |
WhereClause | Gets or sets a where clause that defines the features from the FeatureTable to use as fences. |
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 |