Show / Hide Table of Contents

Class FenceGeotrigger

A Geotrigger that defines regions or fences to be monitored using a GeotriggerMonitor.

Inheritance
Object
Geotrigger
FenceGeotrigger
Geotrigger.Feed
Geotrigger.GeotriggerId
Geotrigger.MessageExpression
Geotrigger.Name
Geotrigger.RequestedActions
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 sealed class FenceGeotrigger : Geotrigger
Remarks

You can monitor areas of interest with a FenceGeotrigger using spatial rules like enter or exit. This type of operation is also known as "Geofencing".

Three main components comprise a FenceGeotrigger:

  • The GeotriggerFeed that is monitored for changes - usually the device location read from a LocationDataSource.
  • The FenceRuleType that describes the check that is performed with the feed and fence data - for example, "enters within 50 meters of".
  • The FenceParameters that the feed data are evaluated against. For example, a set of polygon features representing areas of interest. The FenceParameters can cover many features or graphics that are checked.

Constructors

Name Description
FenceGeotrigger(GeotriggerFeed, FenceRuleType, FenceParameters)

Initializes a new instance of the FenceGeotrigger class

FenceGeotrigger(GeotriggerFeed, FenceRuleType, FenceParameters, ArcadeExpression, String)

Initializes a new instance of the FenceGeotrigger class with an expression and a name.

Properties

Name Description
EnterExitSpatialRelationship

Gets or sets the spatial relationship that determines whether a fence polygon has been entered or exited.

FeedAccuracyMode

Gets or sets the FenceGeotriggerFeedAccuracyMode value that describes how a FenceGeotrigger will use accuracy information from a GeotriggerFeed.

FenceParameters

Gets the FenceParameters that will be evaluated against.

RuleType

Gets the FenceRuleType that describes the check performed with the feed and fence data.

Applies to

TargetVersions
.NET Standard 2.0100.12 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.12 - 100.14
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.14
Xamarin.iOS100.12 - 100.14
UWP100.12 - 100.14
In This Article
Back to top Copyright © 2021 Esri.