backgroundTasks.status
Whether the OS lets this app run in the background.
Utilização
Check whether background execution is allowed.
// Check whether background execution is allowed.
import { backgroundTasks } from 'kuito';
const status = await backgroundTasks.status(); // 'available' | 'denied' | 'restricted'Assinaturas
(): Promise<Status>Parâmetros
Sem parâmetros.
Devolve
Promise<Status>
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.