isTollRoadAvoided

open fun isTollRoadAvoided(@NonNull countryIso: String): Boolean

Returns if the toll roads should be avoided when computing the route.

Return

If toll roads is avoided

Parameters

countryIso

Iso code of country we want to apply restriction. Iso code is can be obtained via getTransitCountries


open fun isTollRoadAvoided(): Boolean

Returns if the toll roads should be avoided when computing the route.

Return

If toll roads is avoided