PlatformTextInputSession



Receiver type for establishTextInputSession.

Summary

Public functions

suspend Nothing

Starts the text input session and suspends until it is closed.

Cmn
android

Public properties

View

The View this input session is bound to.

android

Public functions

startInputMethod

suspend fun startInputMethod(request: PlatformTextInputMethodRequest): Nothing

Starts the text input session and suspends until it is closed.

On platforms that support software keyboards, calling this method will show the keyboard and attempt to keep it visible until the last session is closed.

Calling this method multiple times, within the same establishTextInputSession block or from different establishTextInputSessions, will restart the session each time.

Parameters
request: PlatformTextInputMethodRequest

The platform-specific PlatformTextInputMethodRequest that will be used to initiate the session.

Public properties

view

val viewView

The View this input session is bound to. This view should be used to obtain and interact with the InputMethodManager.