# A2uiSchemaKeyword.Const

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

*** ** * ** ***


```
class A2uiSchemaKeyword.Const<T : Any?> : A2uiSchemaKeyword<T>
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.a2ui.model.schema.A2uiSchemaKeyword](https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword)\<T\> ||
|   | ↳ | [androidx.a2ui.model.schema.A2uiSchemaKeyword.Const](https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Const) |

*** ** * ** ***

Constant value constraint (`const`).

## Summary

| ### Public constructors |
|---|
| `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Const#Const(kotlin.Any)(value: T)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Const#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/schema/A2uiSchemaKeyword.Const#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Const#toString()()` |

| ### Public properties |
|---|---|
| `T` | `https://developer.android.com/reference/kotlin/androidx/a2ui/model/schema/A2uiSchemaKeyword.Const#value()` constant value required for the property |

## Public constructors

### Const

```
<T : Any?> Const(value: T)
```

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### value

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

```
val value: T
```

constant value required for the property