SplashScreenVersion

public final class SplashScreenVersion
extends Object

java.lang.Object
   ↳ androidx.browser.trusted.splashscreens.SplashScreenVersion


These constants are the categories the providers add to the intent filter of CustomTabService implementation to declare the support of a particular version of splash screens. The are also passed by the client as the value for the key SplashScreenParamKey.VERSION when launching a Trusted Web Activity.

Summary

Constants

String V1

The splash screen is transferred via CustomTabsSession.receiveFile(Uri, int, Bundle), and then used by Trusted Web Activity when it is launched.

Inherited methods

Constants

V1

public static final String V1

The splash screen is transferred via CustomTabsSession.receiveFile(Uri, int, Bundle), and then used by Trusted Web Activity when it is launched. The passed image is shown in a full-screen ImageView. The following parameters are supported: - SplashScreenParamKey.BACKGROUND_COLOR, - SplashScreenParamKey.SCALE_TYPE, - SplashScreenParamKey.IMAGE_TRANSFORMATION_MATRIX - SplashScreenParamKey.FADE_OUT_DURATION_MS.

Constant Value: "androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"