isCountryAvoided

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

Returns if a country should be avoided when computing the route.

Return

If country is avoided

Parameters

countryIso

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