FenceParameters

sealed class FenceParameters

Geotrigger fence data required for a FenceGeotrigger. The FenceParameters defines all of the target geometries of a FenceGeotrigger. Typically, it is made up of many polygons that objects from the GeotriggerFeed can enter or exit. However, if you set a FenceParameters.bufferDistance, point and line geometry 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 one of:

Since

200.1.0

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A buffer distance in meters to apply when checking if a FenceGeotrigger condition is met. For example, if the rule is "enters within 50 meters" you use a FenceGeotrigger.ruleType of FenceRuleType.Enter and set this property to 50.