# A2uiCoreValueResolver

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

*** ** * ** ***


```
fun interface A2uiCoreValueResolver
```

<br />

*** ** * ** ***

A callback interface provided by the framework layer during evaluation. Allows the core to read from the data model synchronously while enabling the framework to track data accesses for reactive updates.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/a2ui/engine/model/A2uiCoreValueResolver#resolve(androidx.a2ui.model.protocol.A2uiDataPath)(path: https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiDataPath)` Resolves a value from the data model at the given path. |

## Public functions

### resolve

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

```
fun resolve(path: A2uiDataPath): Any?
```

Resolves a value from the data model at the given path.

| Parameters |
|---|---|
| `path: https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiDataPath` | The data path to resolve. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | The resolved value or null if the given path does not exist in the data model. |