Package com.tomtom.sdk.routing.api
Types
Link copied to clipboard
class Itinerary( val origin: ItineraryPoint, val destination: ItineraryPoint, val waypoints: List<ItineraryPoint> = emptyList())
Content copied to clipboard
Itinerary represents a sequence of points that a route visits.
Link copied to clipboard
Encapsulates Place with the additional information relevant for the route itinerary.
Link copied to clipboard
Represents a unique identifier of an itinerary point.
Link copied to clipboard
Entry point to perform a route planning action.
Link copied to clipboard
Callback which is responsible to inform about a received RoutingResult or respective error.
Link copied to clipboard
Represents an error raised when something went wrong in routing.
Link copied to clipboard
data class RoutingOptions( val itinerary: Itinerary, val departAt: Date? = null, val routeType: RouteType = RouteType.FAST, val considerTraffic: Boolean = true, val avoidTypes: List<AvoidType> = arrayListOf(), val travelMode: TravelMode = TravelMode.CAR, val hilliness: Hilliness? = null, val windingness: Windingness? = null, val maxAlternatives: Int = 0, val alternativeType: AlternativeType? = null, val minDeviationDistance: Int? = null, val minDeviationTime: Int? = null, val instructionType: InstructionType = InstructionType.NONE, val language: Locale? = null, val routeRepresentation: RouteRepresentation = RouteRepresentation.POLYLINE, val includeExtendedRouteRepresentation: Boolean = true, val trafficInformation: TrafficInformation = TrafficInformation.NONE, val vehicleHeading: Int? = null, val sectionTypes: List<SectionType> = mutableListOf(SectionType.TRAVEL_MODE), val arriveAt: Date? = null, val supportingPoints: List<List<GeoCoordinate>> = arrayListOf(), val avoidVignettes: List<String>? = null, val allowVignettes: List<String>? = null, val avoidAreas: List<GeoBoundingBox>? = null, val reportType: ReportType = ReportType.NONE, val electricVehicleDescriptor: ElectricVehicleDescriptor? = null, val combustionVehicleDescriptor: CombustionVehicleDescriptor? = null, val instructionAnnouncementPoints: AnnouncementPoints = AnnouncementPoints.NONE, val instructionPhonetics: InstructionPhoneticsType = InstructionPhoneticsType.NONE, val instructionRoadShieldReferences: RoadShieldReferences = RoadShieldReferences.NONE, val trackingId: String? = null, val coordinatePrecision: CoordinatePrecision = CoordinatePrecision.FULL, val extras: Any? = null)
Content copied to clipboard
Represents parameters used in a Routing API Request.
Link copied to clipboard
Represents the calculated route based on a passed RoutingOptions.