enableReplayRoute

fun enableReplayRoute(options: ReplayRouteSessionOptions? = null): MapboxTripStarter

Enables a mode where the primary route is simulated by an artificial driver. Set the route with MapboxNavigation.setNavigationRoutes. Can be used with getReplayRouteSessionOptions to make minor adjustments to the current options.

Parameters

options

optional options to use for route replay.