Thanks for the feedback.
You mean GraphHopper.getElevation provided that the loaded graph
has elevation data, but in which GraphHopper version?
Because at the latest source I cannot find a method with such
parameters.
About BRouter, I examined it more and found it has
GPL
license so it cannot be included in closed source apps.
That's probably why in Android they use it as linked app.