onRefresh

abstract fun onRefresh(directionsRoute: DirectionsRoute)

Call this method to return a refreshed route to the Nav SDK.

The directionsRoute won't be return to the Nav SDK as is. The local web server calculates data to send to the Nav SDK based on provided route and route request form the Nav SDK. For example current position could affect which data will be refreshed on the route. The specific implementation of route refresh could vary from version to version.

Parameters

directionsRoute

A refreshed route.