public
static
interface
AccessibilityService.SoftKeyboardController.OnShowModeChangedListener
android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener |
Listener for changes in the soft keyboard show mode.
Public methods | |
---|---|
abstract
void
|
onShowModeChanged(AccessibilityService.SoftKeyboardController controller, int showMode)
Called when the soft keyboard behavior changes. |
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
|