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

```kotlin
public interface SemanticsPropertyReceiver
```

SemanticsPropertyReceiver is the scope provided by semantics {} blocks, letting you set key/value
pairs primarily via extension functions.

## Functions

<h2 id="set-key-value">set</h2>

```kotlin
public operator fun <T> set(key: SemanticsPropertyKey<T>, value: T?)
```

<hr class="docs-overload-divider">

<h2 id="get-key">get</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    public operator fun <T> get(key: SemanticsPropertyKey<T>): T?
```