Class FenceParameters
Geotrigger fence data required for a FenceGeotrigger.
Inheritance
System.Object
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)
System.Object.ToString()
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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |