performIndirectTouchEvent

Function

Common
@ExperimentalIndirectTouchTypeApi
fun SemanticsNodeInteraction.performIndirectTouchEvent(
    indirectTouchEvent: IndirectTouchEvent
): Boolean

Send the specified IndirectTouchEvent to the focused component.

Returns

true if the event was consumed. False otherwise.