UNPKG

cordova-background-geolocation-lt

Version:

Cordova / Capacitor Background Geolocation. The most sophisticated, cross-platform location-tracking and geofencing plugin with battery-conscious motion-detection intelligence.

19 lines (18 loc) 482 B
declare module "cordova-background-geolocation-lt" { /** * The event-object provided to [[BackgroundGeolocation.onConnectivityChange]] * * @example * ```typescript * BackgroundGeolocation.onConnectivityChange(connectivityChangeEvent => { * console.log("[connectivitychange] ", connectivityChangeEvent.connected); * }); * ``` */ interface ConnectivityChangeEvent { /** * `true` when the device has access to a network connection. */ connected: boolean; } }