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.

16 lines (15 loc) 472 B
declare module "cordova-background-geolocation-lt" { /** * The event-object provided to [[BackgroundGeolocation.onMotionChange]] when the SDK changes state between *moving* and *stationary*. */ interface MotionChangeEvent { /** * `true` when the device has begun *moving* and the SDK engaged location-tracking. `false` when *stationary*. */ isMoving: boolean; /** * The corresponding [[Location]] where the event occurred. */ location: Location; } }