Class GraphicFenceParameters
Geotrigger fence parameters created from graphics.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GraphicFenceParameters : FenceParameters
Remarks
The graphics used to create a GraphicFenceParameters provide a set of geometries and attributes that define targets for a FenceGeotrigger condition. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", the fence data is "my target areas".
A GraphicFenceParameters allows you to track a specific set of Graphic objects: these can be a selection of the graphics from a GraphicsOverlay or graphics that are not displayed on a GeoView. If you wish to track all of the graphics displayed in a GraphicsOverlay, use a GraphicsOverlayFenceParameters.
A GraphicFenceParameters is created using a list of Graphic objects. The graphics can have point, line or polygon geometry. A BufferDistance must be supplied for points or lines.
Constructors
Name | Description |
---|---|
GraphicFenceParameters(IEnumerable<Graphic>) | Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to the supplied graphics. |
GraphicFenceParameters(IEnumerable<Graphic>, Double) | Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to any graphics that are added to Graphics. |
GraphicFenceParameters(Double) | Initializes a new instance of the GraphicFenceParameters class that will apply a buffer distance to any graphics that are added to Graphics. |
Properties
Name | Description |
---|---|
Graphics | Gets the graphics to use in the GraphicFenceParameters. |
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 |