sdk-routing / com.tomtom.online.sdk.routing.data / IRouteQuery / withAlternativeType

withAlternativeType

@NonNull abstract fun withAlternativeType(alternativeType: AlternativeType!): IRouteQuery

Controls the optimality with respect to the given planning criteria of the calculated alternatives compared to the reference route.

Parameters

alternativeType - AlternativeType!:

Return
IRouteQuery: The route query.