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

    Interface WatchPositionRequest

    interface WatchPositionRequest {
        interval?: number;
        desiredAccuracy?: DesiredAccuracy;
        persist?: boolean;
        extras?: Record<string, any>;
        timeout?: number;
    }
    Index

    Properties

    interval?: number

    Sets the interval in milliseconds at which to fetch location updates.

    desiredAccuracy?: DesiredAccuracy

    Sets the DesiredAccuracy of location updates from the native location API.

    Defaults to DesiredAccuracy.High

    persist?: boolean

    Defaults to true when plugin is enabled; false, otherwise. Set false to disable persisting the retrieved Locations in the plugin's SQLite database.

    extras?: Record<string, any>

    Optional meta-data to attach to each location. These extras will be merged to the configured PersistenceConfig.extras and persisted / POSTed to your server (if you've configured a HttpConfig.url).

    timeout?: number

    Location-timeout in milliseconds.

    Default: 60000.