androidx.compose.ui.semantics

SemanticsPropertyReceiver

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

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

interface SemanticsPropertyReceiver

Kinds of SemanticsPropertyReceiver

Anywhere a SemanticsPropertyReceiver is expected, you can pass any of these.

How to get one

Or create one of the kinds listed above.

Functions

set

fun <T> set(key: SemanticsPropertyKey<T>, value: T)
Library docs

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