---
title: "SemanticsConfiguration"
description: "Describes the semantics information associated with the owning component."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public class SemanticsConfiguration : SemanticsPropertyReceiver
```


Describes the semantics information associated with the owning component.


## Functions

```kotlin
public operator fun <T> get(key: SemanticsPropertyKey<T>): T
```


Retrieves the value for the given property, if one has been set, If a value has not been set,
throws `IllegalStateException`


```kotlin
public fun <T> getOrElseNullable(key: SemanticsPropertyKey<T>, defaultValue: () -> T?): T?
```


Retrieves the value for the given property, if one has been set, If a value has not been set,
returns the provided default value.


```kotlin
public fun <T> getOrNull(key: SemanticsPropertyKey<T>): T?
```


Retrieves the value for the given property, if one has been set, If a value has not been set,
returns null



