The Developer Preview for Android 11 is now available; test it out and share your feedback.

SemanticsTreeProvider

interface SemanticsTreeProvider
androidx.ui.core.SemanticsTreeProvider

Element responsible for providing the semantics tree of the hierarchy. Typically the root container.

Summary

Public methods

abstract List<SemanticsNode>

Returns all (merged) SemanticsNodes in the tree represented by this SemanticsTreeProvider

abstract Unit

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Public methods

getAllSemanticNodes

abstract fun getAllSemanticNodes(): List<SemanticsNode>

Returns all (merged) SemanticsNodes in the tree represented by this SemanticsTreeProvider

sendEvent

abstract fun sendEvent(event: MotionEvent): Unit