The second Android 11 Developer Preview 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

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