react-native-background-geolocation@5.0.0-beta.1
    Preparing search index...

    Interface Sensors

    Detected device sensors related to motion-detection.

    interface Sensors {
        platform: string;
        accelerometer: boolean;
        magnetometer: boolean;
        gyroscope: boolean;
        significant_motion?: boolean;
        motion_hardware?: boolean;
    }
    Index

    Properties

    platform: string

    ios | android

    accelerometer: boolean

    true when the device has an accelerometer.

    magnetometer: boolean

    true when the device has a magnetometer (compass).

    gyroscope: boolean

    true when the device has a gyroscope.

    significant_motion?: boolean

    [Android only] true when the Android device has significant motion hardware.

    motion_hardware?: boolean

    [iOS only] true when the device has an M7 motion co-processor (iPhone 5S and up).