Route

class Route

The route.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.

Link copied to clipboard

Important labels including names and route numbers that differentiate the current route from the alternatives presented.

Link copied to clipboard

Summarized details of the leg.

Functions

Link copied to clipboard
inline fun copy(block: Route.Builder.() -> Unit = {}): Route
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String