UNPKG

@transistorsoft/capacitor-background-geolocation

Version:

The most sophisticated cross platform Capacitor background location tracking & geofencing module with battery-conscious motion-detection intelligence

19 lines (18 loc) 497 B
declare module "@transistorsoft/capacitor-background-geolocation" { /** * 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; } }