The Android Developer Challenge is back! Submit your idea before December 2.

SplashScreenVersion

class SplashScreenVersion
kotlin.Any
   ↳ 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

static String

The splash screen is transferred via CustomTabsSession#receiveFile, and then used by Trusted Web Activity when it is launched.

Constants

V1

static val V1: String

The splash screen is transferred via CustomTabsSession#receiveFile, 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.

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