Entered

data class Entered(val geofenceId: String, val location: AFGeoLocation?, val synthesized: Boolean = false) : AFGeofenceEvent

Indicates that the device has entered a geofence.

Constructors

Link copied to clipboard
constructor(geofenceId: String, location: AFGeoLocation?, synthesized: Boolean = false)

Properties

Link copied to clipboard

The ID of the geofence entered.

Link copied to clipboard

The location at which the transition was detected, if available.

Link copied to clipboard

true when the SDK fabricated this Enter because the device was already inside the region at registration time (iOS only — Apple does not deliver didEnterRegion for regions the device is already inside, so the SDK synthesizes one from didDetermineState=inside to match Android's INITIAL_TRIGGER_ENTER behaviour). Always false on Android. Use this to distinguish real boundary crossings from at-registration detections in support tooling and analytics; the dwell / visit pipeline treats both the same way.