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.KEY_VERSION
when launching a Trusted Web Activity.
Summary
Constants | |
---|---|
String |
V1
The splash screen is transferred via |
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.KEY_BACKGROUND_COLOR
,
- SplashScreenParamKey.KEY_SCALE_TYPE
,
- SplashScreenParamKey.KEY_IMAGE_TRANSFORMATION_MATRIX
- SplashScreenParamKey.KEY_FADE_OUT_DURATION_MS
.
Constant Value: "androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"