Bike

class Bike(preference: TravelMode.Preference = Preference.DEFAULT) : TravelMode

Travel by bike, with an optional routing Preference.

Constructors

Link copied to clipboard
constructor(preference: TravelMode.Preference = Preference.DEFAULT)

Properties

Link copied to clipboard

The serializable name of the travel mode.

Link copied to clipboard

The routing preference used when computing the itinerary.

Functions

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 toCompactString(): String

Returns a compact, human-readable representation of this value.

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