🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

performImeAction

Sends to this node the IME action associated with it in a similar way to the IME.

performImeAction

Source set: Common
public fun SemanticsNodeInteraction.performImeAction()

Sends to this node the IME action associated with it in a similar way to the IME.

The node needs to define its IME action in semantics via SemanticsPropertyReceiver.onImeAction.

Throws: AssertionError

if the node does not support input or does not define IME action.

Throws: IllegalStateException

if the node did is not an editor or would not be able to establish an input connection (e.g. does not define ImeAction or OnImeAction or is not focused).