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

# AppWidgetSurface

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


```
class AppWidgetSurface : GlanceSurface
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.glance.adaptive.core.selection.GlanceSurface](https://developer.android.com/reference/kotlin/androidx/glance/adaptive/core/selection/GlanceSurface.md.txt) ||
|   | ↳ | [androidx.glance.adaptive.appwidget.selection.AppWidgetSurface](https://developer.android.com/reference/kotlin/androidx/glance/adaptive/appwidget/selection/AppWidgetSurface.md.txt) |

*** ** * ** ***

Platform AppWidget surfaces on which Glance Adaptive widgets can be placed.

## Summary

| ### Public companion properties |
|---|---|
| `AppWidgetSurface` | `MOBILE_HOME_SCREEN` Mobile Phone home screen launcher surface. |
| `AppWidgetSurface` | `MOBILE_LOCK_SCREEN` Mobile Phone lockscreen surface or Keyguard glanceable surface. |

### Inherited functions

From [androidx.glance.adaptive.core.selection.GlanceSurface](https://developer.android.com/reference/kotlin/androidx/glance/adaptive/core/selection/GlanceSurface.md.txt) `open operator Boolean` `equals(other: Any?)` `open Int` `hashCode()` `open String` `toString()`

## Public companion properties

### MOBILE_HOME_SCREEN

```
val MOBILE_HOME_SCREEN: AppWidgetSurface
```

Mobile Phone home screen launcher surface.

### MOBILE_LOCK_SCREEN

```
val MOBILE_LOCK_SCREEN: AppWidgetSurface
```

Mobile Phone lockscreen surface or Keyguard glanceable surface.