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

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 functions

Unit

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

Cmn
Unit

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

Cmn

Public functions

releaseInputFocus

fun releaseInputFocus(): Unit

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

fun requestInputFocus(): Unit

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