RoutePlan

class RoutePlan(val route: Route, val routePlanningOptions: RoutePlanningOptions)

Defines parameters required for a single route in navigation session.

To specify a route plan, first plan a Route using com.tomtom.sdk.routing.RoutePlanner and RoutePlanningOptions.

For more information on navigation session see: com.tomtom.sdk.navigation.TomTomNavigation.start, com.tomtom.sdk.navigation.TomTomNavigation.setActiveRoutePlan and com.tomtom.sdk.navigation.TomTomNavigation.stop.

Parameters

route

Route to follow during the navigation session.

routePlanningOptions

RoutePlanningOptions used to plan the route.

Constructors

Link copied to clipboard
constructor(route: Route, routePlanningOptions: RoutePlanningOptions)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this route plan is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this route plan.

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

Returns a string representation of the route plan.