backgroundTasks.status
Whether the OS lets this app run in the background.
Utilisation
Check whether background execution is allowed.
// Check whether background execution is allowed.
import { backgroundTasks } from 'kuito';
const status = await backgroundTasks.status(); // 'available' | 'denied' | 'restricted'Signatures
(): Promise<Status>Paramètres
Aucun paramètre.
Retourne
Promise<Status>
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.