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.
Utilisation
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 defaultPropriétés et méthodes 1
| Nom | Type | Requis | Description |
|---|---|---|---|
value | string | Oui | — |
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.