# setGeolocationRequired



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/Android-SDK-2/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-s-d-k-customization-options/set-geolocation-required.html
- Imported at: 2026-10-21T17:27:02.187Z
- Canonical page: https://docs.idmission.com/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-s-d-k-customization-options/set-geolocation-required
- Agent index: https://docs.idmission.com/llms.txt

---

[IDentity-SDK](https://docs.idmission.com/markdown/mobile/android-sdk-2.md)/[com.idmission.sdk2.client.model](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model.md)/[SDKCustomizationOptions](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-s-d-k-customization-options.md)/setGeolocationRequired

<a id="setgeolocationrequired"></a>

# set​Geolocation​Required

```
public final Unit setGeolocationRequired(Boolean geolocationRequired)
```

Option to indicate whether users should be blocked from proceeding if they block location access.

**Type:** Boolean\
**nullable:** false\
**example:** false
