# GeospatialSurface

Artifact: [androidx.xr.arcore:arcore](https://developer.android.com/jetpack/androidx/releases/xr-arcore) [View Source](https://cs.android.com/search?q=file:androidx/xr/arcore/GeospatialSurface.kt+class:androidx.xr.arcore.GeospatialSurface) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-arcore#1.0.0)

*** ** * ** ***


```
class GeospatialSurface
```

<br />

*** ** * ** ***

The type of surface on which to create an anchor.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface#ROOFTOP()` The rooftop surface. |
| `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface#TERRAIN()` The terrain surface. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface#toString()()` Returns a string representation of `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface` for debugging. |

## Public companion properties

### ROOFTOP

```
val ROOFTOP: GeospatialSurface
```

The rooftop surface.

### TERRAIN

```
val TERRAIN: GeospatialSurface
```

The terrain surface.

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

Returns a string representation of `https://developer.android.com/reference/kotlin/androidx/xr/arcore/GeospatialSurface` for debugging.

Note: Not intended for production use.