Constructor SimulationParameters
SimulationParameters()
Initializes a new instance of the SimulationParameters class.
Declaration
public SimulationParameters()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.15 |
SimulationParameters(DateTimeOffset, Double, Double, Double)
Initializes a new instance of the SimulationParameters class.
Declaration
public SimulationParameters(DateTimeOffset startTime, double velocity = 10, double horizontalAccuracy = 0, double verticalAccuracy = 0)
Parameters
Type | Name | Description |
---|---|---|
System.DateTimeOffset | startTime | Date and time of the first location. Each subsequent location will increment its timestamp by one second. |
Double | velocity | Rate of travel, in meters per second. The default value is 10.0. Note that very small values for velocity may greatly increase the number of locations created. |
Double | horizontalAccuracy | The horizontal accuracy to assign to generated locations. The default value is 0.0. |
Double | verticalAccuracy | The vertical accuracy to assign to generated locations. The default value is 0.0. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.8 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.8 - 100.12 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 100.14 |
Relevant samples
Navigate route: Use a routing service to navigate between points.
Show location history: Display your location history on the map.