performKeyPress
Source set: Common
fun SemanticsNodeInteraction.performKeyPress(keyEvent: KeyEvent): Boolean
Send the specified KeyEvent to the focused component.
Returns
| true if the event was consumed. False otherwise. |
Send the specified KeyEvent to the focused component.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun SemanticsNodeInteraction.performKeyPress(keyEvent: KeyEvent): Boolean
Send the specified KeyEvent to the focused component.
| true if the event was consumed. False otherwise. |
Last updated: