androidx.ui.semantics

Classes

AccessibilityAction

Data class for standard accessibility action.

AccessibilityRangeInfo

CustomAccessibilityAction

Data class for custom accessibility action.

SemanticsActions

Ths class defines keys of the actions which can be set in semantics and performed on the semantics node.

SemanticsPropertyKey

Top-level functions summary

Unit
Semantics(container: Boolean = false, mergeAllDescendants: Boolean = false, properties: SemanticsPropertyReceiver.() -> Unit = null, children: <ERROR CLASS>, Unit: <ERROR CLASS>)

Extension functions summary

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

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

Extension properties summary

Top-level functions

Semantics

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

Extension functions

ScrollTo

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

onClick

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

Extension properties

ScrollTo

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

accessibilityLabel

var SemanticsPropertyReceiver.accessibilityLabel: String

accessibilityValue

var SemanticsPropertyReceiver.accessibilityValue: String

accessibilityValueRange

var SemanticsPropertyReceiver.accessibilityValueRange: AccessibilityRangeInfo

customActions

var SemanticsPropertyReceiver.customActions: List<CustomAccessibilityAction>

enabled

var SemanticsPropertyReceiver.enabled: Boolean

hidden

var SemanticsPropertyReceiver.hidden: Boolean

onClick

var SemanticsPropertyReceiver.onClick: AccessibilityAction<() -> Boolean>
var SemanticsPropertyReceiver.popup: Boolean

Whether this semantics node represents a Popup. Not to be confused with if this node is part of a Popup.

testTag

var SemanticsPropertyReceiver.testTag: String