Function

performTextReplacement

Replaces existing text with the given text in this node in similar way to IME.

Source set: Common

Added in 1.11.0-rc01

fun SemanticsNodeInteraction.performTextReplacement(text: String)

Replaces existing text with the given text in this node in similar way to IME.

This does not reflect text selection. All the text gets cleared out and new inserted.

Parameters

text Text to send.