# SplashScreenVersion

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/trusted/splashscreens/SplashScreenVersion.java+class:androidx.browser.trusted.splashscreens.SplashScreenVersion) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

*** ** * ** ***


```
public final class SplashScreenVersion
```

<br />

*** ** * ** ***

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 `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenParamKey#KEY_VERSION()` when launching a Trusted Web Activity.

## Summary

| ### Constants |
|---|---|
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenVersion#V1() = "androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"` The splash screen is transferred via `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsSession#receiveFile(android.net.Uri,int,android.os.Bundle)`, and then used by Trusted Web Activity when it is launched. |

## Constants

### V1

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

```
public static final String V1 = "androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"
```

The splash screen is transferred via `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsSession#receiveFile(android.net.Uri,int,android.os.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: - `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenParamKey#KEY_BACKGROUND_COLOR()`, - `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenParamKey#KEY_SCALE_TYPE()`, - `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenParamKey#KEY_IMAGE_TRANSFORMATION_MATRIX()` - `https://developer.android.com/reference/androidx/browser/trusted/splashscreens/SplashScreenParamKey#KEY_FADE_OUT_DURATION_MS()`.