enableRerouting

suspend fun enableRerouting(parameters: ReroutingParameters): Result<Unit>

Enables automatic rerouting when the tracker detects an off-route status. 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.

Return

A Result that has no return value.

Since

200.1.0

Parameters

parameters

A ReroutingParameters allow customizing background rerouting.