@transistorsoft/capacitor-background-geolocation
Version:
The most sophisticated cross platform Capacitor background location tracking & geofencing module with battery-conscious motion-detection intelligence
16 lines (15 loc) • 487 B
TypeScript
declare module "@transistorsoft/capacitor-background-geolocation" {
/**
* 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;
}
}