Skip to content

GeofenceTrigger

public structGeofenceTrigger

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

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


Members

action

public let action: String?

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

extras

public let extras: [String: Any]?

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

identifier

public let identifier: String?

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

timestamp

public let timestamp: String?

ISO-8601 UTC timestamp of the geofence transition.