RouteQuery is deprecated

Dear Mr/Mrs,

I used to use the com.tomtom.online.sdk.routing.data.RouteQuery object to pass it in the com.tomtom.online.sdk.routing.RoutingApi object. Which object do I have to use now?

Regards,

Hi.

You should use the RouteSpecification, RouteCalculationDescriptor and RouteDescriptor objects.
For more details please take a look at our Maps SDK for Android Examples Application

Regards,
Mateusz