Most visited

Recently visited

Added in API level 24

AccessibilityService.SoftKeyboardController.OnShowModeChangedListener

public static interface AccessibilityService.SoftKeyboardController.OnShowModeChangedListener

android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener


监听器用于更改软键盘显示模式。

Summary

Public methods

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

当软键盘行为改变时调用。

Public methods

onShowModeChanged

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

当软键盘行为改变时调用。 默认的显示模式是SHOW_MODE_AUTO ,其中软键盘在文本输入字段被聚焦时显示。 AccessibilityService还可以请求显示模式SHOW_MODE_HIDDEN ,其中从不显示软键盘。

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

Hooray!