Function

performTextReplacement

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

performTextReplacement

Common
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.