location.servicesEnabled
Location services are on for the device (not this app's permission).
Verwendung
Check device-wide location services.
// Check device-wide location services.
import { location } from 'kuito';
if (!(await location.servicesEnabled())) console.log('Location services are off');Signaturen
(): Promise<boolean>Parameter
Keine Parameter.
Rückgabe
Promise<boolean>
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.