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

Types

Link copied to clipboard
class ReplayPolylineDecodeStream(val encodedPath: String, precision: Int) : Iterator<Point>

This class is experimental because it is likely to move to mapbox-java.

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.

Link copied to clipboard
class ReplayRouteSession : MapboxNavigationObserver

Used to create a replay trip session. Continue to use MapboxNavigation.setNavigationRoutes to decide the route that should be replayed.

Link copied to clipboard
class ReplayRouteSessionOptions

Options to use with the ReplayRouteSession.