Package com.tomtom.sdk.routing.online

Types

Link copied to clipboard
class ApiKeyError(message: String = API_KEY_ERROR_MESSAGE) : RoutingError

Routing call did not finish due to a problem with the API key.

Link copied to clipboard
class BadInputError(message: String? = null) : RoutingError

Some input parameter combination was not valid.

Link copied to clipboard
class CannotReconstructRouteError(message: String? = null) : RoutingError

The route reconstruction using supportingPoints failed.

Link copied to clipboard
class ComputationTimeoutError(message: String? = null) : RoutingError

Indicates that the request reached an internal computation time threshold and timed out.

Link copied to clipboard
class DeserializationError(message: String? = null) : RoutingError

Deserialization of routing response failed.

Link copied to clipboard
class HttpError(val httpErrorCode: Int, message: String? = null) : RoutingError

Routing call ended with unexpected HTTP code.

Link copied to clipboard
class MapMatchingError(message: String? = null) : RoutingError

One of the input points (Origin, Destination, Waypoints) could not be matched to the map because there is no known drivable section near this point.

Link copied to clipboard
class NetworkError(message: String? = null) : RoutingError

Routing network call failed with IOException.

Link copied to clipboard
class NoRouteFoundError(message: String? = null) : RoutingError

No valid route could be found.

Link copied to clipboard
class OnlineRoutingApi : RoutingApi

Default TomTom implementation of the entry point to perform route planning action based on TomTom's Routing APIs.

Link copied to clipboard
class UnknownError(message: String? = null) : RoutingError

Routing call ended with unknown error.