isUnpavedRoadAvoided

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

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

Return

If unpaved roads is avoided

Parameters

countryIso

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


open fun isUnpavedRoadAvoided(): Boolean

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

Return

If unpaved roads is avoided