onRoutesSet

abstract fun onRoutesSet(result: Expected<RoutesSetError, RoutesSetSuccess>)

Invoked on result of MapboxNavigation.setNavigationRoutes.

Parameters

result

Expected object with RoutesSetError in case of a failed and RoutesSetSuccess in case of a successful MapboxNavigation.setNavigationRoutes invocation.