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.
32 lines (31 loc) • 765 B
TypeScript
declare module "cordova-background-geolocation-lt" {
/**
* Detected device sensors related to motion-detection.
*/
interface Sensors {
/**
* `ios` | `android`
*/
platform: string;
/**
* `true` when the device has an accelerometer.
*/
accelerometer: boolean;
/**
* `true` when the device has a magnetometer (compass).
*/
magnetometer: boolean;
/**
* `true` when the device has a gyroscope.
*/
gyroscope: boolean;
/**
* __[Android only]__ `true` when the Android device has significant motion hardware.
*/
significant_motion?: boolean;
/**
* __[iOS only]__ `true` when the device has an __M7__ motion co-processor (iPhone 5S and up).
*/
motion_hardware?: boolean;
}
}