Skip to content

GeofencesChangeEvent

public structGeofencesChangeEvent

Geofence monitoring change delivered to BGGeo.onGeofencesChange.

The SDK can only monitor a finite number of geofences simultaneously. As the device moves, it activates the geofences closest to the current position and deactivates those that are too far away. This event fires whenever that set changes — reporting which geofences just became active (on) and which were just removed from active monitoring (off).


Members

off

public let off: [String]

Identifiers of geofences that were just deactivated and are no longer being monitored.

on

public let on: [BGGeo.Geofence]

Geofences that just became active and are now being monitored.