Show / Hide Table of Contents

Class FenceParameters

Geotrigger fence data required for a FenceGeotrigger.

Inheritance
Object
FenceParameters
FeatureFenceParameters
GraphicFenceParameters
GraphicsOverlayFenceParameters
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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

TargetVersions
.NET Standard 2.0100.12 - 200.1
.NET 6.0100.13 - 200.1
.NET 6.0 Windows100.13 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.12 - 200.1
.NET 5100.12
.NET Core 3.1100.12
Android100.12 - 100.15
iOS100.12 - 100.15
UWP100.12 - 200.1
In This Article
Back to top Copyright © 2022 Esri.