getActiveGeofences

Snapshot of every currently monitored geofence and the device's last-known membership state for each. Useful for rendering "you're at this facility" UI immediately after registration without waiting for a transition event.

On iOS this surfaces the "added while already inside" case via AFActiveGeofence.enteredViaSynthesis — Apple does not fire didEnterRegion for regions the device is already inside, so the SDK synthesizes an Enter to match Android's INITIAL_TRIGGER_ENTER semantics.

Returns an empty list when no geofences are active or geofencing is not supported (e.g. watchOS).

Snapshot of every currently monitored geofence and the device's last-known membership state for each. Useful for rendering "you're at this facility" UI immediately after registration without waiting for a transition event.

On iOS this surfaces the "added while already inside" case via AFActiveGeofence.enteredViaSynthesis — Apple does not fire didEnterRegion for regions the device is already inside, so the SDK synthesizes an Enter to match Android's INITIAL_TRIGGER_ENTER semantics.

Returns an empty list when no geofences are active or geofencing is not supported (e.g. watchOS).

actual fun getActiveGeofences(): List<AFActiveGeofence>

Snapshot of every currently monitored geofence and the device's last-known membership state for each. Useful for rendering "you're at this facility" UI immediately after registration without waiting for a transition event.

On iOS this surfaces the "added while already inside" case via AFActiveGeofence.enteredViaSynthesis — Apple does not fire didEnterRegion for regions the device is already inside, so the SDK synthesizes an Enter to match Android's INITIAL_TRIGGER_ENTER semantics.

Returns an empty list when no geofences are active or geofencing is not supported (e.g. watchOS).

actual fun getActiveGeofences(): List<AFActiveGeofence>

Snapshot of every currently monitored geofence and the device's last-known membership state for each. Useful for rendering "you're at this facility" UI immediately after registration without waiting for a transition event.

On iOS this surfaces the "added while already inside" case via AFActiveGeofence.enteredViaSynthesis — Apple does not fire didEnterRegion for regions the device is already inside, so the SDK synthesizes an Enter to match Android's INITIAL_TRIGGER_ENTER semantics.

Returns an empty list when no geofences are active or geofencing is not supported (e.g. watchOS).