{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PlatformTextInput

@ExperimentalTextApi
public sealed interface PlatformTextInput


Represents the text input plugin system to instances of PlatformTextInputAdapter, and provides methods that allow adapters to interact with it. Instances are passed to PlatformTextInputPlugin.createAdapter.

Summary

Public methods

abstract void

If this adapter currently holds input focus, tells the platform that it is no longer handling input.

abstract void

Requests that the platform input be connected to this receiver until either:

Public methods

releaseInputFocus

abstract void releaseInputFocus()

If this adapter currently holds input focus, tells the platform that it is no longer handling input. If this adapter does not hold input focus, does nothing.

requestInputFocus

abstract void requestInputFocus()

Requests that the platform input be connected to this receiver until either: