ReplayProgressObserver
class ReplayProgressObserver @JvmOverloads constructor(mapboxReplayer: MapboxReplayer, replayRouteMapper: ReplayRouteMapper = ReplayRouteMapper()) : RouteProgressObserver
Content copied to clipboard
Register this to MapboxNavigation.registerRouteProgressObserver. This class will feed locations to your MapboxReplayer and simulate your active route for you.
Constructors
Link copied to clipboard
fun ReplayProgressObserver(mapboxReplayer: MapboxReplayer, replayRouteMapper: ReplayRouteMapper = ReplayRouteMapper())
Content copied to clipboard
Functions
Link copied to clipboard
Called by MapboxNavigation when this class has been registered. If you are handling your own RouteProgress, you can call this method directly.
Link copied to clipboard