---
title: "SubspaceSemanticsPropertyReceiver"
description: "Scope provided by semantics blocks, letting you set key/value pairs for use in testing, accessibility, etc."
type: "interface"
lastmod: "2026-07-19T07:47:45.893948Z"
---
## API Reference

> Source set: Android

```kotlin
public interface SubspaceSemanticsPropertyReceiver
```

Scope provided by [semantics](/jetpack-compose/androidx.xr.compose/compose/functions/semantics) blocks, letting you set key/value pairs for use in testing,
accessibility, etc.

## Functions

### set

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

Sets the semantics property defined by [key](/jetpack-compose/androidx.compose.ui/ui/classes/Key) to `value`.

#### Parameters

| | |
| --- | --- |
| key | The property key to set. |
| value | The value to assign to the property. |
