androidx.ui.semantics

Classes

AccessibilityAction

SemanticsActions

SemanticsPropertyKey

Top-level functions summary

Unit
Semantics(container: Boolean = false, explicitChildNodes: Boolean = false, properties: SemanticsPropertyReceiver.() -> Unit = null, children: () -> Unit)

Extension functions summary

For SemanticsPropertyReceiver
Unit
SemanticsPropertyReceiver.ScrollTo(label: String? = null, action: (x: Px, y: Px) -> Unit)

Unit
SemanticsPropertyReceiver.onClick(label: String? = null, action: () -> Unit)

Extension properties summary

Top-level functions

Semantics

@Composable fun Semantics(
    container: Boolean = false,
    explicitChildNodes: Boolean = false,
    properties: SemanticsPropertyReceiver.() -> Unit = null,
    children: () -> Unit
): Unit

Extension functions

ScrollTo

fun SemanticsPropertyReceiver.ScrollTo(
    label: String? = null,
    action: (x: Px, y: Px) -> Unit
): Unit

onClick

fun SemanticsPropertyReceiver.onClick(
    label: String? = null,
    action: () -> Unit
): Unit

Extension properties

ScrollTo

var SemanticsPropertyReceiver.ScrollTo: AccessibilityAction<(x: Px, y: Px) -> Unit>

accessibilityLabel

var SemanticsPropertyReceiver.accessibilityLabel: String

accessibilityValue

var SemanticsPropertyReceiver.accessibilityValue: String

customActions

var SemanticsPropertyReceiver.customActions: List<AccessibilityAction<() -> Unit>>

enabled

var SemanticsPropertyReceiver.enabled: Boolean

hidden

var SemanticsPropertyReceiver.hidden: Boolean

onClick

var SemanticsPropertyReceiver.onClick: AccessibilityAction<() -> Unit>

testTag

var SemanticsPropertyReceiver.testTag: String

textDirection

var SemanticsPropertyReceiver.textDirection: TextDirection