getRouteWarnings

open fun getRouteWarnings(@NonNull listener: RouteWarningsListener, @Nullable executor: Executor)
open fun getRouteWarnings(@NonNull listener: RouteWarningsListener)

Returns a list of RouteWarning warnings, which occurred during route calculation.