setExcludedModalities

fun setExcludedModalities(modalities: List<String>)

Sets the modalities that will be excluded from the routing network when a route is computed.

Notes

The set excluded modalities will be used in addition to the accessible excluded modalities if the user chooses an accessible route.

Since

1.6

List<String> lModalities = Arrays.asList("UserProfile1", "UserProfile2");
mMapController.setExcludedModalities(lModalities);

Parameters

modalities

An array of modality names to be excluded. If null or empty, then any previously excluded modalities will be removed.