Stay organized with collections
Save and categorize content based on your preferences.
android.window
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# android.window\n\nAdded in [API level 31](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.window\n==============\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/window/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [OnBackAnimationCallback](/reference/android/window/OnBackAnimationCallback) | Interface for applications to register back animation callbacks along their custom back handling. |\n| [OnBackInvokedCallback](/reference/android/window/OnBackInvokedCallback) | Callback allowing applications to handle back events in place of the system. |\n| [OnBackInvokedDispatcher](/reference/android/window/OnBackInvokedDispatcher) | Dispatcher to register [OnBackInvokedCallback](/reference/android/window/OnBackInvokedCallback) instances for handling back invocations. |\n| [SplashScreen](/reference/android/window/SplashScreen) | The interface that apps use to talk to the splash screen. |\n| [SplashScreen.OnExitAnimationListener](/reference/android/window/SplashScreen.OnExitAnimationListener) | Listens for the splash screen exit event. |\n\nClasses\n-------\n\n|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BackEvent](/reference/android/window/BackEvent) | Object used to report back gesture progress. |\n| [InputTransferToken](/reference/android/window/InputTransferToken) | A token that can be used to request focus on or to transfer touch gesture to a [SurfaceControlViewHost](/reference/android/view/SurfaceControlViewHost) or [SurfaceControl](/reference/android/view/SurfaceControl) that has an input channel. |\n| [SplashScreenView](/reference/android/window/SplashScreenView) | The view which allows an activity to customize its splash screen exit animation. |\n| [SurfaceSyncGroup](/reference/android/window/SurfaceSyncGroup) | A way for data to be gathered so multiple surfaces can be synced. |\n| [SystemOnBackInvokedCallbacks](/reference/android/window/SystemOnBackInvokedCallbacks) | Utility class providing [OnBackInvokedCallback](/reference/android/window/OnBackInvokedCallback)s to override the default behavior when system back is invoked. |\n| [TrustedPresentationThresholds](/reference/android/window/TrustedPresentationThresholds) | Threshold values that are sent with [WindowManager.registerTrustedPresentationListener(IBinder, TrustedPresentationThresholds, Executor, Consumer)](/reference/android/view/WindowManager#registerTrustedPresentationListener(android.os.IBinder,%20android.window.TrustedPresentationThresholds,%20java.util.concurrent.Executor,%20java.util.function.Consumer\u003cjava.lang.Boolean\u003e)) |\n\n-\n\n Interfaces\n ----------\n\n - [OnBackAnimationCallback](/reference/android/window/OnBackAnimationCallback)\n - [OnBackInvokedCallback](/reference/android/window/OnBackInvokedCallback)\n - [OnBackInvokedDispatcher](/reference/android/window/OnBackInvokedDispatcher)\n - [SplashScreen](/reference/android/window/SplashScreen)\n - [SplashScreen.OnExitAnimationListener](/reference/android/window/SplashScreen.OnExitAnimationListener)\n-\n\n Classes\n -------\n\n - [BackEvent](/reference/android/window/BackEvent)\n - [InputTransferToken](/reference/android/window/InputTransferToken)\n - [SplashScreenView](/reference/android/window/SplashScreenView)\n - [SurfaceSyncGroup](/reference/android/window/SurfaceSyncGroup)\n - [SystemOnBackInvokedCallbacks](/reference/android/window/SystemOnBackInvokedCallbacks)\n - [TrustedPresentationThresholds](/reference/android/window/TrustedPresentationThresholds)"]]