enableRerouting

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

Enables automatic rerouting when the tracker detects an off-route status. Re-routing occurs only when the current location is off-route while on or near the transportation network edges. For example, if an off-route state is detected when the tracked location is in a parking lot (away from any transportation network edges), re-routing will not occur. It will occur only once a subsequent tracked location is on or near the transportation network edges.

Return

A Result of type Unit.

Since

200.1.0

Parameters

parameters

A ReroutingParameters allow customizing background rerouting.