selectLegIndex

open fun selectLegIndex(legIndex: Int)

Manually set the selected leg index, on the set route. This may throw an exception if the resulting internal state is invalid (parsed index is out of bounds)

Parameters

legIndex

- Leg index

Throws

If the set leg index is out of bounds and the SDK is in enableDeveloperMode