desiredAccuracy property

int? desiredAccuracy
getter/setter pair

Specify the desired-accuracy of the geolocation system.

Name Location Providers Description
DESIRED_ACCURACY_NAVIGATION (iOS only) GPS + Wifi + Cellular Highest power; highest accuracy
DESIRED_ACCURACY_HIGH GPS + Wifi + Cellular Highest power; highest accuracy
DESIRED_ACCURACY_MEDIUM Wifi + Cellular Medium power; Medium accuracy;
DESIRED_ACCURACY_LOW Wifi (low power) + Cellular Lower power; No GPS
DESIRED_ACCURACY_VERY_LOW Cellular only Lowest power; lowest accuracy
DESIRED_ACCURACY_LOWEST (iOS only) Lowest power; lowest accuracy

Note: Only DESIRED_ACCURACY_HIGH uses GPS. speed, heading and altitude are available only from GPS.

Example

BackgroundGeoloction.ready(Config(
  desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH
));

For platform-specific information about location accuracy, see the corresponding API docs:

Implementation

int? desiredAccuracy;