A Geotrigger feed which uses the device location to provide updates.
Referenced by: Fence Geotrigger
Properties
| Property | Details |
|---|---|
| filterExpression | An optional Arcade expression that controls whether a location update will be used by a geotrigger. For example, the expression could reject GPS updates with a poor horizontal accuracy. This expression uses the Location Update Constraint Arcade profile. The expression should return a Boolean where false indicates the location will not be used. |
| type | String indicating the type of Geotrigger feed. Valid value of this property deviceLocation |
Device Location Example
{ "type": "deviceLocation", "filterExpression": { "title": "Location filter", "expression": "return $locationupdate.horizontalaccuracy <= 20" }}