# A2uiSurfaceModel

Artifact: [androidx.a2ui:a2ui-model](https://developer.android.com/jetpack/androidx/releases/a2ui) [View Source](https://cs.android.com/search?q=file:androidx/a2ui/model/processor/A2uiSurfaceModel.kt+class:androidx.a2ui.model.processor.A2uiSurfaceModel) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui#1.0.0-alpha02)

*** ** * ** ***


```
public interface A2uiSurfaceModel
```

<br />

Known direct subclasses [A2uiCoreSurfaceModel](https://developer.android.com/reference/androidx/a2ui/engine/model/A2uiCoreSurfaceModel)

|---|---|
| `https://developer.android.com/reference/androidx/a2ui/engine/model/A2uiCoreSurfaceModel` | The root domain model for a single active surface. |

*** ** * ** ***

A single A2UI surface.

This is the primary interface for managing active UI surfaces. Each surface is strictly the owner of its own component registry and data model.

## Summary

| ### Public methods |
|---|---|
| `abstract @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/a2ui/model/processor/A2uiSurfaceModel#getId()()` The unique identifier of this surface. |

## Public methods

### getId

Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui#1.0.0-alpha02)

```
abstract @NonNull String getId()
```

The unique identifier of this surface.