Geotrigger class final

A condition monitored by a GeotriggerMonitor.

A Geotrigger defines a condition that can be continually monitored in real time. After the condition is met, the Geotrigger defines how a GeotriggerNotificationInfo can be used to inform the user.

A GeotriggerMonitor, created with the Geotrigger, handles monitoring and reporting.

You can create a FenceGeotrigger describing target areas, covered by spatial rules such as enter or exit. This type of spatial monitoring is also known as "Geofencing".

If a Geotrigger is defined in a GeotriggersInfo, check whether the GeotriggerFeed is of type LocationGeotriggerFeed and, if so, supply a LocationDataSource to provide your device location. Set the LocationGeotriggerFeed.locationDataSource to your LocationDataSource - for example, using the LocationDisplay.dataSource.

Implemented types
Implementers

Properties

feed GeotriggerFeed
The GeotriggerFeed that is monitored for changes.
no setter
geotriggerId String
A unique ID for the Geotrigger.
no setter
hashCode int
The hash code for this object.
no setterinherited
messageExpression ArcadeExpression?
An ArcadeExpression that controls the notification details when a Geotrigger is met.
getter/setter pair
name String
The name of the Geotrigger.
getter/setter pair
requestedActions List<String>
A list of strings indicating the set of requested actions when a notification is delivered.
no setter
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