Package com.mapbox.navigation.core.replay.route


Link copied to clipboard
class ReplayProgressObserver @JvmOverloads constructor(mapboxReplayer: MapboxReplayer, replayRouteMapper: ReplayRouteMapper = ReplayRouteMapper()) : RouteProgressObserver

Register this to MapboxNavigation.registerRouteProgressObserver. This class will feed locations to your MapboxReplayer and simulate your active route for you.

Link copied to clipboard
class ReplayRouteMapper @JvmOverloads constructor(var options: ReplayRouteOptions = ReplayRouteOptions.Builder().build())

This class converts a DirectionsRoute into events that can be replayed using the MapboxReplayer to navigate a route.

Link copied to clipboard
class ReplayRouteOptions

Replay route simulates a driver on a direction route. These options allow you to control the behavior of that driver.