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

LocalSoftwareKeyboardController


Summary

Public functions

infix ProvidedValue<SoftwareKeyboardController?>
provides(softwareKeyboardController: SoftwareKeyboardController)

Set the key LocalSoftwareKeyboardController in CompositionLocalProvider.

Cmn

Public properties

SoftwareKeyboardController?

Return a SoftwareKeyboardController that can control the current software keyboard.

Cmn

Public functions

provides

infix fun provides(softwareKeyboardController: SoftwareKeyboardController): ProvidedValue<SoftwareKeyboardController?>

Set the key LocalSoftwareKeyboardController in CompositionLocalProvider.

Public properties

current

@ExperimentalComposeUiApi
val currentSoftwareKeyboardController?

Return a SoftwareKeyboardController that can control the current software keyboard.

If it is not provided, the default implementation will delegate to LocalTextInputService.

Returns null if the software keyboard cannot be controlled.