Added in API level 31

OnExitAnimationListener

interface OnExitAnimationListener
android.window.SplashScreen.OnExitAnimationListener

Listens for the splash screen exit event.

Summary

Public methods
abstract Unit

When receiving this callback, the SplashScreenView object will be drawing on top of the activity.

Public methods

onSplashScreenExit

Added in API level 31
abstract fun onSplashScreenExit(view: SplashScreenView): Unit

When receiving this callback, the SplashScreenView object will be drawing on top of the activity. The SplashScreenView represents the splash screen view object, developer can make an exit animation based on this view.

This method is never invoked if your activity clear the listener by clearOnExitAnimationListener.
This method must be called on the thread that originally created this UI element. This is typically the main thread of your app.

Parameters
view SplashScreenView: The view object which on top of this Activity. This value cannot be null.