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 you implement location from AL, you can optionally pass options to LocationProvider.RequestLocationAsync(options). Access the options by using Microsoft.Dynamics.Nav.Client.Capabilities.LocationOptions, which is found in the Microsoft.Dynamics.Nav.ClientExtensions DLL.
For most scenarios, you don't need to specify options.
LocationOptions
| Option | Description |
|---|---|
bool EnableHighAccuracy |
A value that provides a hint to the device that this request must have the best possible location accuracy. |
int Timeout |
The maximum length of time, in milliseconds, that is allowed to pass for a location request. |
int MaximumAge |
The maximum age, in milliseconds, of a cached location. |