# SmartGeofenceEventDelegate

A delegate that will be invoked when a smart geofence event is detected.

### `onSmartGeofenceEvent`

> ```swift
> @objc
> func onSmartGeofenceEvent(_ smartGeofenceEvent: SmartGeofenceEvent)
> ```
>
> Called whenever a smart geofence entry/exit is detected.

<table><thead><tr><th width="255">Parameters</th><th></th></tr></thead><tbody><tr><td>event</td><td>A <a href="smartgeofenceevent">SmartGeofenceEvent</a> object representing the entry/exit event that just happened.</td></tr></tbody></table>
