Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# SplashScreen.OnExitAnimationListener

*** ** * ** ***

` public static interface SplashScreen.OnExitAnimationListener `   
` `

|---|
| android.window.SplashScreen.OnExitAnimationListener |

<br />

*** ** * ** ***

Listens for the splash screen exit event.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/window/SplashScreen.OnExitAnimationListener#onSplashScreenExit(android.window.SplashScreenView)(https://developer.android.com/reference/android/window/SplashScreenView view) ` When receiving this callback, the `https://developer.android.com/reference/android/window/SplashScreenView` object will be drawing on top of the activity. |

## Public methods

### onSplashScreenExit

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onSplashScreenExit (SplashScreenView view)
```

When receiving this callback, the `https://developer.android.com/reference/android/window/SplashScreenView` object will be drawing on top of the activity. The `https://developer.android.com/reference/android/window/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 `https://developer.android.com/reference/android/window/SplashScreen#clearOnExitAnimationListener()`.   

This method must be called on the thread that originally created this UI element. This is typically the [main thread](https://developer.android.com/reference/android/os/Looper#getMainLooper()) of your app.

<br />

| Parameters ||
|---|---|
| `view` | `SplashScreenView`: The view object which on top of this Activity. This value cannot be `null`. <br /> |

**See also:**

- `https://developer.android.com/reference/android/window/SplashScreen#setOnExitAnimationListener(android.window.SplashScreen.OnExitAnimationListener)`
- `https://developer.android.com/reference/android/window/SplashScreen#clearOnExitAnimationListener()`