> 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/android/smart-geofences/detectionmode.md).

# DetectionMode

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

| FEATURE\_NOT\_ENABLED | 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.                                                      |
