Method EnableReroutingAsync
EnableReroutingAsync(ReroutingParameters, CancellationToken)
Enables automatic rerouting when the tracker detects an off-route status.
Declaration
public Task EnableReroutingAsync(ReroutingParameters parameters, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
Rerouting |
parameters | A Rerouting |
Cancellation |
cancellationToken | Optional token that may be used to cancel the async enabling operation. |
Returns
Remarks
Re-routing only occurs when the current location is off-route, but on or near the transportation network edges. For example if an off-route state is detected but the tracked location is in a parking lot, away from any transportation network edges, re-routing will not occur, and will occur only once a subsequent tracked location is on or near the transportation network edges.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.11 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.11 - 100.15 |
.NET 5 | 100.11 - 100.12 |
.NET Core 3.1 | 100.11 - 100.12 |
Xamarin.Android | 100.11 - 100.15 |
Xamarin.iOS | 100.11 - 100.15 |
UWP | 100.11 - 100.14 |