Function

performSemanticsActionUnit

Jetpack Compose API reference for performSemanticsActionUnit.

Common
Deprecated Replaced with same function, but with SemanticsNodeInteraction as return type

Overload 1

fun <T : Function<Boolean>> SemanticsNodeInteraction.performSemanticsActionUnit(
    key: SemanticsPropertyKey<AccessibilityAction<T>>,
    invocation: (T) -> Unit,
)
Common
Deprecated Replaced with same function, but with SemanticsNodeInteraction as return type

performSemanticsActionUnit

fun SemanticsNodeInteraction.performSemanticsActionUnit(
    key: SemanticsPropertyKey<AccessibilityAction<() -> Boolean>>
)