AndroidSDK:: RoutingContext class not found

While initializing OnlineRoutingApi…create(this, “ApiKey”), this OnlineRoutingApi uses com.tomtom.sdk.routing.online.context.RoutingContext and com.tomtom.sdk.routing.online.context.TomTomRoutingConfigProvider.

But I couldn’t find those class anywhere. My build.gradle has following tomtom dependencies

implementation "com.tomtom.sdk:maps-display:0.3.196"
implementation "com.tomtom.sdk:location-android:0.3.196"
implementation "com.tomtom.sdk:search-ui:0.3.196"
implementation "com.tomtom.sdk:search-client-online:0.3.196"
implementation "com.tomtom.sdk:routing-client-online:0.3.196"

As per this official documentation , importing sdk:routing-client-online is alone enough.

Am I missing something? Anyone please guild me. I suspect because of this, I am getting api error

Hi,
RoutingContext and TomTomRoutingConfigProvider classes are the internal implementation of the SDK, so you can not see their content.

2 Likes