Show / Hide Table of Contents

Class FenceGeotrigger

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

Inheritance
System.Object
Geotrigger
FenceGeotrigger
Geotrigger.Feed
Geotrigger.GeotriggerId
Geotrigger.MessageExpression
Geotrigger.Name
Geotrigger.RequestedActions
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7
In This Article
Back to top Copyright © 2022 Esri.