OnlineRoutePlanner

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class OnlineRoutePlanner : RoutePlanner

Deprecated

This will be removed from future releases after 2027-02-05.

Replace with

RoutePlanner

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

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion

Functions

Link copied to clipboard
open override fun close()

Implementation of AutoCloseable.close.

Link copied to clipboard
open override fun planRoute(routePlanningOptions: RoutePlanningOptions, callback: RoutePlanningCallback): Cancellable

Asynchronously plans a route and its alternative routes using the provided RoutePlanningOptions. If the operation succeeds, RoutePlanningCallback.onSuccess is called with a RoutePlanningResponse. If the operation fails, RoutePlanningCallback.onFailure is called with a RoutingFailure.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the online route planner.