Class FenceParameters
Geotrigger fence data required for a FenceGeotrigger.
Inheritance
FenceParameters
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)
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class FenceParameters
Remarks
The FenceParameters defines all of the target geometries of a FenceGeotrigger. Typically, it is made up of many polygons, that the GeotriggerFeed can enter or exit. However, if you set a BufferDistance, point and line geometry types can also be used. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", the fence data would be "my target areas".
Fence data can be created as a GraphicFenceParameters object.
Properties
Name | Description |
---|---|
BufferDistance | Gets a buffer distance in meters to apply when checking if a FenceGeotrigger condition is met. |
Methods
Name | Description |
---|---|
CreateFromGeoElement(GeoElement, Double) | Static factory function to create a FenceParameters object. |
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 |