# GARGeospatialMode

## Summary

| ### Enumerations ||
|---|---|
| `https://developers.google.com/ar/reference/ios/group/GARGeospatialMode#gargeospatialmode{ https://developers.google.com/ar/reference/ios/group/GARGeospatialMode#gargeospatialmodedisabled = 0, https://developers.google.com/ar/reference/ios/group/GARGeospatialMode#gargeospatialmodeenabled = 1 }` | enumDescribes the desired behavior of ARCore Geospatial API features and capabilities. |

## Enumerations

### GARGeospatialMode

```
 GARGeospatialMode
```
Describes the desired behavior of ARCore Geospatial API features and capabilities.

Not all devices support all modes. Use `https://developers.google.com/ar/reference/ios/category/GARSession(Geospatial)#isgeospatialmodesupported:` to find whether the current device supports a particular Geospatial mode. The default value is `https://developers.google.com/ar/reference/ios/group/GARGeospatialMode#gargeospatialmodedisabled`.

| Properties ||
|---|---|
| `GARGeospatialModeDisabled` | The Geospatial API is disabled. |
| `GARGeospatialModeEnabled` | The Geospatial API is enabled. `https://developers.google.com/ar/reference/ios/category/GARFrame(Geospatial)#earth` will return valid `https://developers.google.com/ar/reference/ios/interface/GAREarth#interface_g_a_r_earth` instances, and `https://developers.google.com/ar/reference/ios/category/GARSession(Geospatial)#createanchorwithcoordinate:altitude:eastupsouthqanchor:error:` will be enabled. Configuring the session with this mode may result in the following error codes: - `https://developers.google.com/ar/reference/ios/group/GARSessionErrorCode#garsessionerrorcodelocationpermissionnotgranted` - Geospatial mode requires location permission (at least when-in-use) with full accuracy. - `https://developers.google.com/ar/reference/ios/group/GARSessionErrorCode#garsessionerrorcodeconfigurationnotsupported` - Geospatial mode not supported on this device or OS version. Use `https://developers.google.com/ar/reference/ios/category/GARSession(Geospatial)#isgeospatialmodesupported:` to determine this before attempting to configure the session. <br /> |