currentLegIndex

fun currentLegIndex(): Int

Returns leg index the user is currently on. If no RouteProgress updates are available, returns the value passed as initialLegIndex parameter to setNavigationRoutes. If no routes are set, returns 0.