> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/ios/smart-geofences/smartgeofencedetectionmode.md).

# SmartGeofenceDetectionMode

The detection mode in which the Smart Geofences feature in running.

| featureNotEnabled | The Smart Geofences feature is not enabled for your app.                                                                        |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| disabled          | Geofence entry/exit detections are disabled. Check the SDK status to find out why.                                              |
| foreground        | Geofence entry/exit detections are limited to when the app is visible in the foreground, due to restricted location permission. |
| background        | Geofence entry/exit detections are running unrestricted in the background.                                                      |
