> Documentation index: https://developer.android.com/reference/llms.txt

# GlanceSurface

Artifact: [androidx.glance.adaptive:adaptive-core](https://developer.android.com/jetpack/androidx/releases/glance-adaptive.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/glance/adaptive/core/selection/GlanceSurface.kt+class:androidx.glance.adaptive.core.selection.GlanceSurface) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/glance-adaptive.md.txt#1.0.0-alpha05)


```
abstract class GlanceSurface
```

<br />

Known direct subclasses [AppWidgetSurface](https://developer.android.com/reference/kotlin/androidx/glance/adaptive/appwidget/selection/AppWidgetSurface.md.txt)

|---|---|
| `AppWidgetSurface` | Platform AppWidget surfaces on which Glance Adaptive widgets can be placed. |

*** ** * ** ***

Base class representing a host display surface on which Glance Adaptive widgets can be placed.

Specific surfaces are defined by host modules (e.g. `adaptive-appwidget`, `adaptive-wear`).

## Summary

| ### Public functions |
|---|---|
| `open operator Boolean` | `equals(other: Any?)` |
| `open Int` | `hashCode()` |
| `open String` | `toString()` |

## Public functions

### equals

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

### hashCode

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

### toString

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