# A2uiClientCapabilities

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/protocol/A2uiClientCapabilities.kt+class:androidx.a2ui.model.protocol.A2uiClientCapabilities) Added in [1.0.0-alpha02](https://developer.android.com/jetpack/androidx/releases/a2ui#1.0.0-alpha02)

*** ** * ** ***


```
class A2uiClientCapabilities
```

<br />

*** ** * ** ***

Represents the client capabilities advertisement sent to the agent during system initialization.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#A2uiClientCapabilities(kotlin.collections.List,kotlin.collections.List)( supportedCatalogIds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>, inlineCatalogs: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiInlineCatalog> )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?>>` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#toPayloadMap()()` Converts this capability object to the A2UI JSON-compatible Map structure. |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiInlineCatalog>` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#inlineCatalogs()` full JSON Schema definitions of catalogs advertised inline |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#supportedCatalogIds()` identifiers of external or pre-shared catalogs supported by reference. |

## Public constructors

### A2uiClientCapabilities

```
A2uiClientCapabilities(
    supportedCatalogIds: List<String>,
    inlineCatalogs: List<A2uiInlineCatalog> = emptyList()
)
```

## Public functions

### equals

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

### hashCode

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

### toPayloadMap

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

```
fun toPayloadMap(): Map<String, Map<String, Any?>>
```

Converts this capability object to the A2UI JSON-compatible Map structure.

### toString

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

## Public properties

### inlineCatalogs

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

```
val inlineCatalogs: List<A2uiInlineCatalog>
```

full JSON Schema definitions of catalogs advertised inline

### supportedCatalogIds

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

```
val supportedCatalogIds: List<String>
```

identifiers of external or pre-shared catalogs supported by reference. This list must not include IDs of catalogs provided in `https://developer.android.com/reference/kotlin/androidx/a2ui/model/protocol/A2uiClientCapabilities#inlineCatalogs()`.