Added in API level 31

SplashScreen.OnExitAnimationListener


public static interface SplashScreen.OnExitAnimationListener

android.window.SplashScreen.OnExitAnimationListener


Listens for the splash screen exit event.

Summary

Public methods

abstract void onSplashScreenExit(SplashScreenView view)

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

Public methods

onSplashScreenExit

Added in API level 31
public abstract void onSplashScreenExit (SplashScreenView view)

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 SplashScreen.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.