Skip to content

DesiredAccuracy

Desired accuracy presets (meters / platform-tuned).

In the Kotlin API, each member's value is the Android location priority it requests, not the number above: HIGH and NAVIGATION are Priority.PRIORITY_HIGH_ACCURACY (100), MEDIUM is PRIORITY_BALANCED_POWER_ACCURACY (102), LOW is PRIORITY_LOW_POWER (104), and LOWEST and VERY_LOW are PRIORITY_PASSIVE (105). Set and compare the members themselves, never their value.


Members

High

DesiredAccuracy.high

High accuracy (e.g., 0-10m).

Low

DesiredAccuracy.low

Low accuracy (e.g., 100m).

Lowest

DesiredAccuracy.lowest

Lowest accuracy (e.g., 3000m).

Medium

DesiredAccuracy.medium

Medium accuracy (e.g., 10m).

DesiredAccuracy.navigation

Navigation-level accuracy (e.g., 0-10m).

VeryLow

DesiredAccuracy.veryLow

Very low accuracy (e.g., 1000m).