setShowAnimationListener

Sets an animation listener for the show/hide animations of the floating pane in a specific mode.

This allows you to receive callbacks when the pane's show or hide animation starts or ends for a particular mode (e.g., floating, bottom-docked).

Parameters

mode

The FloatingPaneMode for which to set the listener.

callback

The IFloatingPaneCallback.AnimationListener to be invoked during the show/hide animations for the specified mode, or null to remove an existing listener.