iOSLocation.Accuracy

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Accuracies )
aiOSLocation.Accuracy = newAccuraciesValue
or
AccuraciesValue = aiOSLocation.Accuracy

Supported on Mobile (iOS).

Specifies the level of accuracy you need for the location data. Default is Accuracies.Best. Greater accuracy generally uses more battery power.

Notes

You should assign a value to this property that is appropriate for your usage scenario. For example, if you need the current location only within a kilometer, you should specify Accuracies.Kilometer and not Accuracies.BestForNavigation. Determining a location with greater accuracy requires more time and more power.

Sample Code

MyLocation.Accuracy = iOSLocation.Accuracies.Kilometer