Android.Window Namespace

Provides APIs for predictive back navigation, splash screens, surface synchronization, input transfer, and trusted presentation thresholds.

Classes

Name Description
BackEvent

Object used to report back gesture progress.

InputTransferToken

A token that can be used to request focus on or to transfer touch gesture to a SurfaceControlViewHost or android.view.SurfaceControl that has an input channel.

InputTransferToken.InterfaceConsts

Contains constants from the Java interfaces implemented by InputTransferToken.

SplashScreen

Provides an activity's connection to its splash screen.

SplashScreenOnExitAnimationEventArgs

Provides the splash screen view for a splash screen exit animation event.

SplashScreenView

The view which allows an activity to customize its splash screen exit animation.

SurfaceSyncGroup

A way for data to be gathered so multiple surfaces can be synced.

SystemOnBackInvokedCallbacks

Utility class providing OnBackInvokedCallbacks to override the default behavior when system back is invoked.

TrustedPresentationThresholds

Threshold values that are sent with android.view.WindowManager#registerTrustedPresentationListener(IBinder, TrustedPresentationThresholds, Executor, Consumer)

TrustedPresentationThresholds.InterfaceConsts

Contains constants from the Java interfaces implemented by TrustedPresentationThresholds.

Interfaces

Name Description
IOnBackAnimationCallback

Interface for applications to register back animation callbacks along their custom back handling.

IOnBackInvokedCallback

Callback allowing applications to handle back events in place of the system.

IOnBackInvokedDispatcher

Dispatcher to register OnBackInvokedCallback instances for handling back invocations.

ISplashScreen

The interface that apps use to talk to the splash screen.

ISplashScreenOnExitAnimationListener

Listens for the splash screen exit event.

Enums

Name Description
BackEventEdge

Defines the edge from which a back swipe begins.

SplashScreenStyle

Specifies the visual style of a launched activity's splash screen.

TrustedPresentationThresholdsSignalMode

Specifies how window occlusion is signaled for TrustedPresentationThresholds.

Remarks

These APIs support Android window behavior that is coordinated with the system.