LocationAccuracy

public enum LocationAccuracy : UInt32, CaseIterable, Codable

Indicates the desired location accuracy, however the actual accuracy is not guaranteed. When requesting high-accuracy locations, the initial update delivered by the LocationEngine may not have the requested accuracy. Requesting higher accuracy location updates usually means higher power consumption, therefore you should use the lowest accuracy suitable for your use case to preserve the device battery.

  • The best level of accuracy available when you don’t need the level of accuracy required for navigation apps.

    Declaration

    Swift

    case bestAvailable
  • Not supported in iOS.

    Declaration

    Swift

    case subMeterNavigation
  • The highest possible accuracy that uses additional sensor data to facilitate navigation apps.

    Declaration

    Swift

    case navigation
  • Accurate to within tens of meters of the desired target.

    Declaration

    Swift

    case tensOfMeters
  • Accurate to within hundreds of meters of the desired target.

    Declaration

    Swift

    case hundredsOfMeters
  • Accurate to within kilometers of the desired target.

    Declaration

    Swift

    case kilometers