setContinuousAlternativesEnabled

fun setContinuousAlternativesEnabled(enabled: Boolean)

Enables/disabled continuous alternatives automatic update. Enabled by default. When enabled, MapboxNavigation automatically:

  1. Removes passed alternatives

  2. Updates available alternatives

  3. Switches to an online alternative when internet connection is restored

Parameters

enabled

defines if continuous alternatives should be automatically updated.