Skip to content

GeofenceTrigger

export interface GeofenceTrigger {

The geofence transition that caused a Location to be recorded, delivered as Location.geofence.

A summary of the transition. Unlike GeofenceEvent, it carries no location and no Geofence record.


Members

action

action:GeofenceAction;

Transition type that fired: ENTER, EXIT, or DWELL.

extras

extras?: Record<string, any>;

Optional metadata originally configured on the Geofence. Present only when the geofence was created with an extras map.

identifier

identifier: string;

The Geofence.identifier of the geofence that triggered this location.

timestamp

timestamp: string;

ISO-8601 UTC timestamp of the geofence transition.