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.
Utilização
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 defaultPropriedades e métodos 1
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
value | string | Sim | — |
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.