# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# WindowInsetsController.OnControllableInsetsChangedListener

`public static interface WindowInsetsController.OnControllableInsetsChangedListener`
``

android.view.WindowInsetsController.OnControllableInsetsChangedListener

Listener to be notified when the set of controllable `InsetsType` controlled by a `WindowInsetsController` changes.

Once a `InsetsType` becomes controllable, the app will be able to control the window that is causing this type of insets by calling `WindowInsetsController.controlWindowInsetsAnimation(int, long, Interpolator, CancellationSignal, WindowInsetsAnimationControlListener)`.

Note: When listening to controllability of the `Type#ime`, `WindowInsetsController.controlWindowInsetsAnimation(int, long, Interpolator, CancellationSignal, WindowInsetsAnimationControlListener)` may still fail in case the `InputMethodService` decides to cancel the show request. This could happen when there is a hardware keyboard attached.

See also:

- `WindowInsetsController.addOnControllableInsetsChangedListener(OnControllableInsetsChangedListener)`
- `WindowInsetsController.removeOnControllableInsetsChangedListener(OnControllableInsetsChangedListener)`

## Summary

### Public methods
`abstract void` | `onControllableInsetsChanged(WindowInsetsController controller, int typeMask)` Called when the set of controllable `InsetsType` changes.

## Public methods

### onControllableInsetsChanged

    public abstract void onControllableInsetsChanged (WindowInsetsController controller,
                    int typeMask)

Called when the set of controllable `InsetsType` changes.

Parameters
`controller` | `WindowInsetsController`: The controller for which the set of controllable `InsetsType`s are changing. This value cannot be `null`.
`typeMask` | `int`: Bitwise type-mask of the `InsetsType`s the controller is currently able to control. Value is either `0` or a combination of android.view.WindowInsets.Type.STATUS_BARS, android.view.WindowInsets.Type.NAVIGATION_BARS, android.view.WindowInsets.Type.CAPTION_BAR, android.view.WindowInsets.Type.IME, android.view.WindowInsets.Type.WINDOW_DECOR, android.view.WindowInsets.Type.SYSTEM_GESTURES, android.view.WindowInsets.Type.MANDATORY_SYSTEM_GESTURES, android.view.WindowInsets.Type.TAPPABLE_ELEMENT, and android.view.WindowInsets.Type.DISPLAY_CUTOUT

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*