Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When implementing location from C/AL, there are some options that you can optionally pass to LocationProvider.RequestLocationAsync(options). The options can be accessed by using Microsoft.Dynamics.Nav.Client.Capabilities.LocationOptions found in the Microsoft.Dynamics.Nav.ClientExtensions dll.
For most scenarios it is not necessary to specify options.
Location Options List
| Location Options List |
|---|
bool EnableHighAccuracyA value to provide a hint to the device that this request must have the best possible location accuracy. |
int TimeoutThe maximum length of time (milliseconds) that is allowed to pass to a location request. |
int MaximumAgeThe maximum length of time (milliseconds) of a cached location. |