FenceParameters class final
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:
- Implemented types
- Implementers
Properties
- bufferDistance → double
-
A buffer distance in meters to apply when checking if a FenceGeotrigger
condition is met.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createFromGeoElement(
{required GeoElement geoElement, required double bufferDistance}) → FenceParameters - Static factory function to create a FenceParameters.