Function

textEntryKey

The node is marked as a text entry key for accessibility.

textEntryKey

Source set: Common
public fun SemanticsPropertyReceiver.textEntryKey(): Unit

The node is marked as a text entry key for accessibility. This is used to indicate that this composable acts as a key within a text entry interface, such as a custom on-screen keyboard. Accessibility services can use this information to provide a better experience for users interacting with custom text input methods.

See AccessibilityNodeInfo.setTextEntryKey) for more details.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: