Most visited

Recently visited

Added in API level 24

AccessibilityService.SoftKeyboardController.OnShowModeChangedListener

public static interface AccessibilityService.SoftKeyboardController.OnShowModeChangedListener

android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener


Listener for changes in the soft keyboard show mode.

Summary

Public methods

abstract void onShowModeChanged(AccessibilityService.SoftKeyboardController controller, int showMode)

Called when the soft keyboard behavior changes.

Public methods

onShowModeChanged

Added in API level 24
void onShowModeChanged (AccessibilityService.SoftKeyboardController controller, 
                int showMode)

Called when the soft keyboard behavior changes. The default show mode is SHOW_MODE_AUTO, where the soft keyboard is shown when a text input field is focused. An AccessibilityService can also request the show mode SHOW_MODE_HIDDEN, where the soft keyboard is never shown.

Parameters
controller AccessibilityService.SoftKeyboardController: the soft keyboard controller
showMode int: the current soft keyboard show mode

Hooray!