splash.variant
The variant the next launch shows, or null for the default look; it starts as the one this launch showed. Assigning picks another: Android 13 and later only. Elsewhere the write is rejected through the error seam, and the signal goes back.
Verwendung
Switch the splash appearance.
// Switch the splash appearance.
import { splash } from 'kuito';
splash.variant.value; // the variant this launch showed, null for the default
splash.variant.value = 'holiday'; // picks the look of the next launch (Android 13+)
splash.variant.value = null; // back to the defaultEigenschaften und Methoden 1
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
value | string | Ja | — |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.