# android.window

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

# android.window

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/window/package-summary "View this page in Kotlin")\|Java

## Interfaces

|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OnBackAnimationCallback](https://developer.android.com/reference/android/window/OnBackAnimationCallback)                           | Interface for applications to register back animation callbacks along their custom back handling.                                                                   |
| [OnBackInvokedCallback](https://developer.android.com/reference/android/window/OnBackInvokedCallback)                               | Callback allowing applications to handle back events in place of the system.                                                                                        |
| [OnBackInvokedDispatcher](https://developer.android.com/reference/android/window/OnBackInvokedDispatcher)                           | Dispatcher to register[OnBackInvokedCallback](https://developer.android.com/reference/android/window/OnBackInvokedCallback)instances for handling back invocations. |
| [SplashScreen](https://developer.android.com/reference/android/window/SplashScreen)                                                 | The interface that apps use to talk to the splash screen.                                                                                                           |
| [SplashScreen.OnExitAnimationListener](https://developer.android.com/reference/android/window/SplashScreen.OnExitAnimationListener) | Listens for the splash screen exit event.                                                                                                                           |

## Classes

|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [BackEvent](https://developer.android.com/reference/android/window/BackEvent)                                         | Object used to report back gesture progress.                                                                                                                                                                                                                                                                                                                                                                      |
| [InputTransferToken](https://developer.android.com/reference/android/window/InputTransferToken)                       | A token that can be used to request focus on or to transfer touch gesture to a[SurfaceControlViewHost](https://developer.android.com/reference/android/view/SurfaceControlViewHost)or[SurfaceControl](https://developer.android.com/reference/android/view/SurfaceControl)that has an input channel.                                                                                                              |
| [SplashScreenView](https://developer.android.com/reference/android/window/SplashScreenView)                           | The view which allows an activity to customize its splash screen exit animation.                                                                                                                                                                                                                                                                                                                                  |
| [SurfaceSyncGroup](https://developer.android.com/reference/android/window/SurfaceSyncGroup)                           | A way for data to be gathered so multiple surfaces can be synced.                                                                                                                                                                                                                                                                                                                                                 |
| [SystemOnBackInvokedCallbacks](https://developer.android.com/reference/android/window/SystemOnBackInvokedCallbacks)   | Utility class providing[OnBackInvokedCallback](https://developer.android.com/reference/android/window/OnBackInvokedCallback)s to override the default behavior when system back is invoked.                                                                                                                                                                                                                       |
| [TrustedPresentationThresholds](https://developer.android.com/reference/android/window/TrustedPresentationThresholds) | Threshold values that are sent with[WindowManager.registerTrustedPresentationListener(IBinder, TrustedPresentationThresholds, Executor, Consumer)](https://developer.android.com/reference/android/view/WindowManager#registerTrustedPresentationListener(android.os.IBinder,%20android.window.TrustedPresentationThresholds,%20java.util.concurrent.Executor,%20java.util.function.Consumer<java.lang.Boolean>)) |

-

  ## Interfaces

  - [OnBackAnimationCallback](https://developer.android.com/reference/android/window/OnBackAnimationCallback)
  - [OnBackInvokedCallback](https://developer.android.com/reference/android/window/OnBackInvokedCallback)
  - [OnBackInvokedDispatcher](https://developer.android.com/reference/android/window/OnBackInvokedDispatcher)
  - [SplashScreen](https://developer.android.com/reference/android/window/SplashScreen)
  - [SplashScreen.OnExitAnimationListener](https://developer.android.com/reference/android/window/SplashScreen.OnExitAnimationListener)
-

  ## Classes

  - [BackEvent](https://developer.android.com/reference/android/window/BackEvent)
  - [InputTransferToken](https://developer.android.com/reference/android/window/InputTransferToken)
  - [SplashScreenView](https://developer.android.com/reference/android/window/SplashScreenView)
  - [SurfaceSyncGroup](https://developer.android.com/reference/android/window/SurfaceSyncGroup)
  - [SystemOnBackInvokedCallbacks](https://developer.android.com/reference/android/window/SystemOnBackInvokedCallbacks)
  - [TrustedPresentationThresholds](https://developer.android.com/reference/android/window/TrustedPresentationThresholds)