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
  
      
  
    public abstract 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
 This value cannot benull. | 
| showMode | int: the current soft keyboard show mode
 Value isAccessibilityService.SHOW_MODE_AUTO,AccessibilityService.SHOW_MODE_HIDDEN, orAccessibilityService.SHOW_MODE_IGNORE_HARD_KEYBOARD | 
