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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |