# 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)

*** ** * ** ***


```
public final class GeospatialSurface
```

<br />

*** ** * ** ***

The type of surface on which to create an anchor.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface` | `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface#ROOFTOP()` The rooftop surface. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface` | `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface#TERRAIN()` The terrain surface. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `int` | `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/arcore/GeospatialSurface` for debugging. |

## Public fields

### ROOFTOP

```
public static final @NonNull GeospatialSurface ROOFTOP
```

The rooftop surface.

### TERRAIN

```
public static final @NonNull GeospatialSurface TERRAIN
```

The terrain surface.

## Public methods

### equals

```
public boolean equals(Object other)
```

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```

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

Note: Not intended for production use.