SubspaceSemanticsModifierNode

interface SubspaceSemanticsModifierNode

Known direct subclasses

A SubspaceModifier.Node that adds semantics key/values for use in testing, accessibility, and similar use cases.

Summary

Public functions

Unit

Adds semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

Public functions

applySemantics

fun SemanticsPropertyReceiver.applySemantics(): Unit

Adds semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

The SemanticsPropertyReceiver provides "key = value"-style setters for any SemanticsPropertyKey. Also, chaining multiple semantics modifiers is supported.