sdk-routing
Module Contents
alltypes
Module Contents
class AdrTunnelRestrictionCode
class AlternativeType
@PublicPreview("2021.06") enum class AlternativeType
class Avoid
@PublicPreview("2021.06") enum class AvoidType
interface BatchableRoutingResponse : ServiceResponse, Visitable<BatchableRoutingResponseVisitor!>
interface BatchableRoutingResponseVisitor
open class BatchableRoutingResponseVisitorAdapter : BatchableRoutingResponseVisitor
interface BatchableRoutingResultListener
@PublicPreview("2021.06") interface BatchRoutesCallback
@PublicPreview("2021.06") data class BatchRoutesPlan : Serializable
@PublicPreview("2021.06") data class BatchRoutesSpecification
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.batch.BatchRoutesSpecification") open class BatchRoutingQuery : BaseRequestQuery, NativeObject
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.batch.BatchRoutesSpecification.Builder") class BatchRoutingQueryBuilder : IBatchRoutingQuery
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.batch.BatchRoutesPlan") open class BatchRoutingResponse : ServiceBaseResponse, Batchable
class BuildConfig
class BuildConfig
open class Cause : Serializable
@PublicPreview("2021.06") data class Cause : Serializable
@PublicPreview("2021.06") data class ChargingConnection : Serializable
@PublicPreview("2021.06") data class ChargingCurveSupportPoint : Serializable
@PublicPreview("2021.06") data class ChargingDescriptor : Serializable
@PublicPreview("2021.06") data class ChargingInformationAtEndOfLeg : Serializable
@PublicPreview("2021.06") data class ChargingMode : Serializable
@PublicPreview("2021.06") data class CombustionVehicleConsumption
@PublicPreview("2021.06") data class CombustionVehicleDescriptor
interface CommonParams<T : CommonParams<CommonParams<*>>!>
open class CommonParamsBuilder : CommonParams<CommonParamsBuilder!>, PostCommonParams<CommonParamsBuilder!>, SupportsReportParam<CommonParamsBuilder!>, JniNativeHandleOwner
abstract class CommonRequestQuery : BaseRequestQuery
open class EffectiveSetting : Serializable
@PublicPreview("2021.06") data class EffectiveSetting : Serializable
@PublicPreview("2021.06") data class ElectricVehicleConsumption
@PublicPreview("2021.06") data class ElectricVehicleDescriptor
@PublicPreview("2021.06") data class EvFullRoute : Serializable
@PublicPreview("2021.06") interface EvRouteCallback
@PublicPreview("2021.06") data class EvRoutePlan : Serializable
@PublicPreview("2021.06") data class EvRouteSpecification
@PublicPreview("2021.06") enum class FacilityType
open class FullRoute : MatchingDataProvider, Serializable
@PublicPreview("2021.06") data class FullRoute : Serializable
class Hilliness
@PublicPreview("2021.06") enum class Hilliness
@DeprecatedSince("2020.06") interface IBatchRoutingQuery
interface ILongDistanceEVRoutingQuery
open class Instruction : Serializable
Module Contents
Instruction()
Instruction(routeOffsetInMeters: Int, travelTimeInSeconds: Int, point: LatLng!, instructionType: String!, street: String!, roadNumbers: Array<String!>!, exitNumber: String!, countryCode: String!, signpostText: String!, junctionType: String!, turnAngleInDecimalDegrees: Int, roundaboutExitNumber: Int, possibleCombineWithNext: Boolean, drivingSide: String!, maneuver: String!, message: String!, combinedMessage: String!)
protected var combinedMessage: String!
protected var countryCode: String!
protected var drivingSide: String!
protected var exitNumber: String!
open fun getCombinedMessage(): String!
open fun getCountryCode(): String!
open fun getDrivingSide(): String!
open fun getExitNumber(): String!
open fun getInstructionType(): String!
open fun getJunctionType(): String!
open fun getManeuver(): String!
open fun getMessage(): String!
open fun getPoint(): LatLng!
open fun getRoadNumbers(): Array<String!>!
open fun getRoundaboutExitNumber(): Int
open fun getRouteOffsetInMeters(): Int
open fun getSignpostText(): String!
open fun getStreet(): String!
open fun getTravelTimeInSeconds(): Int
open fun getTurnAngleInDecimalDegrees(): Int
protected var instructionType: String!
open fun isPossibleCombineWithNext(): Boolean
protected var junctionType: String!
protected var maneuver: String!
protected var message: String!
protected var point: LatLng!
protected var possibleCombineWithNext: Boolean
protected var roadNumbers: Array<String!>!
protected var roundaboutExitNumber: Int
protected var routeOffsetInMeters: Int
protected var signpostText: String!
protected var street: String!
open fun toString(): String
protected var travelTimeInSeconds: Int
protected var turnAngleInDecimalDegrees: Int
@PublicPreview("2021.06") data class Instruction : Serializable
open class InstructionGroup : Serializable
@PublicPreview("2021.06") data class InstructionGroup : Serializable
class InstructionsType
@PublicPreview("2021.06") enum class InstructionsType
@DeprecatedSince("2020.06") interface IReachableRangeQuery
@DeprecatedSince("2020.06") interface IRouteQuery
@PublicPreview("2021.06") data class Leg : Serializable
@PublicPreview("2021.06") data class LegSummary : Serializable
open class LongDistanceEVRoutingQuery : BaseRequestQuery, NativeObject
Module Contents
LongDistanceEVRoutingQuery(@NonNull origin: LatLng, @NonNull destination: LatLng, @NonNull speedConsumptionInKWhPerHundredKm: MutableMap<Double!, Double!>, @NonNull currentChargeInKWh: Double, @NonNull maxChargeInkWh: Double, @NonNull minChargeAtDestinationInkWh: Double, @NonNull minChargeAtChargingStopsInkWh: Double, @NonNull chargingModes: MutableList<NativeChargingMode!>, report: NativeReportType!, departAt: String!, routeType: NativeRouteType!, traffic: Boolean!, avoidTypes: MutableList<NativeAvoidType!>!, travelMode: NativeTravelMode!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: NativeVehicleLoadType!, vehicleAdrTunnelRestrictionCode: NativeVehicleAdrTunnelRestrictionCode!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, auxiliaryPowerInKW: Double!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, avoidAreas: MutableList<BoundingBox!>!, routeRepresentation: NativeRouteRepresentation!, vehicleHeading: Int!, sectionType: NativeSectionType!)
open fun dispose(): Unit
open fun getAccelerationEfficiency(): Double!
open fun getAllowVignettes(): MutableList<String!>!
open fun getAuxiliaryPowerInKW(): Double!
open fun getAvoidAreas(): MutableList<BoundingBox!>!
open fun getAvoidTypes(): MutableList<NativeAvoidType!>!
open fun getAvoidVignettes(): MutableList<String!>!
open fun getChargingModes(): MutableList<NativeChargingMode!>!
open fun getCurrentChargeInKWh(): Double!
open fun getDecelerationEfficiency(): Double!
open fun getDepartAt(): String!
open fun getDestination(): LatLng!
open fun getDownhillEfficiency(): Double!
open fun getMaxChargeInkWh(): Double!
open fun getMinChargeAtChargingStopsInkWh(): Double!
open fun getMinChargeAtDestinationInkWh(): Double!
open fun getNativeHandle(): Long
open fun getOrigin(): LatLng!
open fun getReport(): NativeReportType!
open fun getRouteRepresentation(): NativeRouteRepresentation!
open fun getRouteType(): NativeRouteType!
open fun getSectionType(): NativeSectionType!
open fun getSpeedConsumptionInKWhPerHundredKm(): MutableMap<Double!, Double!>!
open fun getTraffic(): Boolean!
open fun getTravelMode(): NativeTravelMode!
open fun getUphillEfficiency(): Double!
open fun getVehicleAdrTunnelRestrictionCode(): NativeVehicleAdrTunnelRestrictionCode!
open fun getVehicleAxleWeightInKg(): Int!
open fun getVehicleHeading(): Int!
open fun getVehicleHeightInMeters(): Double!
open fun getVehicleLengthInMeters(): Double!
open fun getVehicleLoadType(): NativeVehicleLoadType!
open fun getVehicleMaxSpeedInKph(): Int!
open fun getVehicleWeightInKg(): Int!
open fun getVehicleWidthInMeters(): Double!
open fun isVehicleCommercial(): Boolean!
open fun prepare(): Long
@NonNull open fun toString(): String
class LongDistanceEVRoutingQueryBuilder : ILongDistanceEVRoutingQuery
Module Contents
LongDistanceEVRoutingQueryBuilder(origin: LatLng, destination: LatLng, speedConsumptionInKWhPerHundredKm: Map<Double, Double>, currentChargeInKWh: Double, maxChargeInkWh: Double, minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<NativeChargingMode>)
fun build(): LongDistanceEVRoutingQuery
@JvmStatic fun create(origin: LatLng, destination: LatLng, speedConsumptionInKWhPerHundredKm: Map<Double, Double>, currentChargeInKWh: Double, maxChargeInkWh: Double, minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<NativeChargingMode>): LongDistanceEVRoutingQueryBuilder
fun withAccelerationEfficiency(accelerationEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withAllowVignette(allowVignette: String): LongDistanceEVRoutingQueryBuilder
fun withAllowVignettes(allowVignettes: MutableList<String>): LongDistanceEVRoutingQueryBuilder
fun withAuxiliaryPowerInKW(auxiliaryPowerInKW: Double): LongDistanceEVRoutingQueryBuilder
fun withAvoidArea(avoidArea: BoundingBox): LongDistanceEVRoutingQueryBuilder
fun withAvoidAreas(avoidAreas: MutableList<BoundingBox>): LongDistanceEVRoutingQueryBuilder
fun withAvoidType(avoidType: NativeAvoidType): LongDistanceEVRoutingQueryBuilder
fun withAvoidTypes(avoidTypes: MutableList<NativeAvoidType>): LongDistanceEVRoutingQueryBuilder
fun withAvoidVignette(avoidVignette: String): LongDistanceEVRoutingQueryBuilder
fun withAvoidVignettes(avoidVignettes: MutableList<String>): LongDistanceEVRoutingQueryBuilder
fun withDecelerationEfficiency(decelerationEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withDepartAt(departAt: String): LongDistanceEVRoutingQueryBuilder
fun withDownhillEfficiency(downhillEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withIsVehicleCommercial(isVehicleCommercial: Boolean): LongDistanceEVRoutingQueryBuilder
fun withReport(reportType: NativeReportType): LongDistanceEVRoutingQueryBuilder
fun withRouteRepresentation(routeRepresentation: NativeRouteRepresentation): LongDistanceEVRoutingQueryBuilder
fun withRouteType(routeType: NativeRouteType): LongDistanceEVRoutingQueryBuilder
fun withSectionType(sectionType: NativeSectionType): LongDistanceEVRoutingQueryBuilder
fun withTraffic(traffic: Boolean): LongDistanceEVRoutingQueryBuilder
fun withTravelMode(travelMode: NativeTravelMode): LongDistanceEVRoutingQueryBuilder
fun withUphillEfficiency(uphillEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleAdrTunnelRestrictionCode(vehicleAdrTunnelRestrictionCode: NativeVehicleAdrTunnelRestrictionCode): LongDistanceEVRoutingQueryBuilder
fun withVehicleAxleWeightInKg(vehicleAxleWeightInKg: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleHeading(vehicleHeading: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleHeightInMeters(vehicleHeightInMeters: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleLengthInMeters(vehicleLengthInMeters: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleLoadType(vehicleLoadType: NativeVehicleLoadType): LongDistanceEVRoutingQueryBuilder
fun withVehicleMaxSpeedInKph(vehicleMaxSpeedInKph: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleWeightInKg(vehicleWeightInKg: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleWidthInMeters(vehicleWidthInMeters: Double): LongDistanceEVRoutingQueryBuilder
open class LongDistanceEVRoutingResponse : ServiceBaseResponse, Serializable
interface MatrixCalculateRouteParams<T : MatrixCalculateRouteParams<MatrixCalculateRouteParams<*>>!>
@PublicPreview("2021.06") data class MatrixRoute : Serializable
@PublicPreview("2021.06") data class MatrixRouteKey : Serializable
@PublicPreview("2021.06") interface MatrixRoutesCallback
@PublicPreview("2021.06") data class MatrixRoutesPlan : Serializable
@PublicPreview("2021.06") class MatrixRoutesSpecification
open class MatrixRoutingParams : JniNativeHandleOwner
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesSpecification") open class MatrixRoutingQuery : CommonRequestQuery
Module Contents
MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!)
MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidsList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun getDestinations(): MutableList<LatLng!>!
open fun getNativeHandle(): Long
open fun getOrigins(): MutableList<LatLng!>!
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesSpecification.Builder") class MatrixRoutingQueryBuilder
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesPlan") class MatrixRoutingResponse : ServiceBaseResponse
class MatrixRoutingResult
class MatrixRoutingResultKey
interface MatrixRoutingResultListener
class MatrixSummary
class NativeAvoidType
open class NativeBatchRouting : NativeService<BatchRoutingResponse!, BatchRoutingQuery!>
Module Contents
NativeBatchRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): BatchRoutingResponse
open class NativeCause : Serializable
open class NativeChargingConnection : Serializable
open class NativeChargingCurveSupportPoint
open class NativeChargingInformationAtEndOfLeg : Serializable
open class NativeChargingMode
open class NativeEffectiveSetting : Serializable
class NativeFacilityType
open class NativeFullRoute : Serializable
open class NativeLeg : Serializable
open class NativeLegSummary : NativeSummary, Serializable
open class NativeLongDistanceEVRouting : NativeService<LongDistanceEVRoutingResponse!, LongDistanceEVRoutingQuery!>
Module Contents
NativeLongDistanceEVRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVer: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVer: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): LongDistanceEVRoutingResponse
open class NativeMatrixRouting : NativeService<MatrixRoutingResponse!, MatrixRoutingQuery!>
Module Contents
NativeMatrixRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
open fun query(query: MatrixRoutingQuery!): Single<MatrixRoutingResponse!>!
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): MatrixRoutingResponse
class NativePlugType
open class NativeReachableRange : NativeService<ReachableRangeResponse!, ReachableRangeQuery!>
Module Contents
NativeReachableRange(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): ReachableRangeResponse
open class NativeReport : Serializable
class NativeReportType
class NativeRouteRepresentation
open class NativeRouteSummary : NativeSummary, Serializable
class NativeRouteType
open class NativeSection : Serializable
class NativeSectionSimpleCategory
class NativeSectionType
open class NativeSummary : Serializable
open class NativeTec : Serializable
class NativeTravelMode
class NativeVehicleAdrTunnelRestrictionCode
class NativeVehicleLoadType
open class OnlineRoutingApi : RoutingApi
Module Contents
@DeprecatedSince("2020.06") open static fun create(@NonNull context: Context): RoutingApi!
open static fun create(@NonNull context: Context, @NonNull apiKey: String): RoutingApi!
@NonNull open fun findReachableRange(@NonNull query: ReachableRangeQuery): Single<ReachableRangeResponse>
open fun findReachableRange(@NonNull query: ReachableRangeQuery, @NonNull listener: ReachableRangeResultListener): Unit
@NonNull open fun planBatchRoute(@NonNull batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>
open fun planBatchRoute(@NonNull batchQuery: BatchRoutingQuery, @NonNull listener: BatchableRoutingResultListener): Unit
@NonNull open fun planMatrixRoutes(@NonNull matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>
open fun planMatrixRoutes(@NonNull matrixQuery: MatrixRoutingQuery, @NonNull listener: MatrixRoutingResultListener): Unit
@NonNull open fun planReachableRange(@NonNull reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>
open fun planReachableRange(@NonNull reachableRangeSpecification: ReachableRangeSpecification, @NonNull reachableAreaCallback: ReachableAreaCallback): Unit
@NonNull open fun planRoute(@NonNull routeQuery: RouteQuery): Single<RouteResponse>
open fun planRoute(@NonNull routeQuery: RouteQuery, @NonNull callback: RouteCallback): Unit
@NonNull open fun planRoute(@NonNull evRouteSpecification: EvRouteSpecification): Result<EvRoutePlan>
open fun planRoute(@NonNull evRouteSpecification: EvRouteSpecification, @NonNull callback: EvRouteCallback): Unit
@NonNull open fun planRoute(@NonNull routeSpecification: RouteSpecification): Result<RoutePlan>
open fun planRoute(@NonNull routeSpecification: RouteSpecification, @NonNull routeCallback: RouteCallback): Unit
@NonNull open fun planRoutes(@NonNull batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
@NonNull open fun planRoutes(@NonNull matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
open fun planRoutes(@NonNull batchRoutesSpecification: BatchRoutesSpecification, @NonNull batchRoutesCallback: BatchRoutesCallback): Unit
open fun planRoutes(@NonNull matrixRoutesSpecification: MatrixRoutesSpecification, @NonNull matrixRoutesCallback: MatrixRoutesCallback): Unit
open class OptimizedWaypoint : Serializable
@PublicPreview("2021.06") data class OptimizedWaypoint : Serializable
@PublicPreview("2021.06") enum class PlugType
interface PostCommonParams<T : PostCommonParams<PostCommonParams<*>>!>
@PublicPreview("2021.06") interface ReachableAreaCallback
@PublicPreview("2021.06") data class ReachableRangeArea : Serializable
@PublicPreview("2021.06") class ReachableRangeBudgetDescriptor
interface ReachableRangeParams : JniNativeHandleOwner
open class ReachableRangeParamsBuilder : ReachableRangeParams
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification") open class ReachableRangeQuery : CommonRequestQuery
Module Contents
ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun equals(other: Any?): Boolean
open fun getAvoidList(): MutableList<Avoid!>!
open fun getDistanceBudgetInMeters(): Double!
open fun getEnergyBudgetInKWh(): Double!
open fun getFuelBudgetInLiters(): Double!
open fun getNativeHandle(): Long
open fun getOrigin(): LatLng!
open fun getTimeBudgetInSeconds(): Double!
open fun hashCode(): Int
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification.Builder") class ReachableRangeQueryBuilder : IReachableRangeQuery
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeArea") open class ReachableRangeResponse : ServiceBaseResponse, Serializable, BatchableRoutingResponse
open class ReachableRangeResult
interface ReachableRangeResultListener
@PublicPreview("2021.06") class ReachableRangeSpecification
class Report
@PublicPreview("2021.06") data class Report : Serializable
@PublicPreview("2021.06") enum class ReportType
open class ResultReport : Serializable
@PublicPreview("2021.06") data class RouteCalculationDescriptor
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteCallback") interface RouteCallback
@PublicPreview("2021.06") interface RouteCallback
@PublicPreview("2021.06") data class RouteDescriptor
@PublicPreview("2021.06") data class RouteDescriptor
open class RouteGuidance : Serializable
@PublicPreview("2021.06") data class RouteGuidance : Serializable
open class RouteLeg : Serializable
@PublicPreview("2021.06") data class RouteLeg : Serializable
@PublicPreview("2021.06") data class RoutePlan : Serializable
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteSpecification") open class RouteQuery : CommonRequestQuery
Module Contents
RouteQuery(origPosition: LatLng!, destPosition: LatLng!, wayPoints: Array<LatLng!>!, wayPointsList: MutableList<LatLng!>!, wayPointsWithAcc: MutableList<LatLngAcc!>!, maxAlternatives: Int!, alternativeType: AlternativeType!, minDeviationDistance: Int!, minDeviationTime: Int!, instructionsType: InstructionsType!, language: String!, computeBestOrder: Boolean!, routeRepresentation: RouteRepresentation!, computeTravelTimeFor: TravelTimeType!, vehicleHeading: Int!, sectionType: SectionType!, report: Report!, supportingPoints: MutableList<LatLng!>!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, arriveAt: Date!, avoidAreas: MutableList<BoundingBox!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, vehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun equals(other: Any?): Boolean
open fun getAllowVignettes(): MutableList<String!>!
open fun getAlternativeType(): AlternativeType!
open fun getArriveAt(): Date!
open fun getAvoidAreas(): MutableList<BoundingBox!>!
open fun getAvoidList(): MutableList<Avoid!>!
open fun getAvoidVignettes(): MutableList<String!>!
open fun getComputeBestOrder(): Boolean!
open fun getComputeTravelTimeFor(): TravelTimeType!
open fun getDestPosition(): LatLng!
open fun getInstructionsType(): InstructionsType!
open fun getLanguage(): String!
open fun getMaxAlternatives(): Int!
open fun getMinDeviationDistance(): Int!
open fun getMinDeviationTime(): Int!
open fun getNativeHandle(): Long
open fun getOrigPosition(): LatLng!
open fun getReport(): Report!
open fun getRouteRepresentation(): RouteRepresentation!
open fun getSectionType(): SectionType!
open fun getSupportingPoints(): MutableList<LatLng!>!
open fun getVehicleHeading(): Int!
open fun getWayPoints(): Array<LatLng!>!
open fun getWayPointsList(): MutableList<LatLng!>!
open fun getWayPointsWithAcc(): MutableList<LatLngAcc!>!
open fun hashCode(): Int
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "RouteSpecification.Builder") class RouteQueryBuilder : IRouteQuery
class RouteRepresentation
@PublicPreview("2021.06") enum class RouteRepresentation
@PublicPreview("2021.06") enum class RouteRepresentation
open class RouteResponse : ServiceBaseResponse, Serializable, BatchableRoutingResponse
open class RouteSection : Serializable
@PublicPreview("2021.06") data class RouteSection : Serializable
@PublicPreview("2021.06") data class RouteSpecification
@PublicPreview("2021.06") data class RouteSummary : Serializable
class RouteType
@PublicPreview("2021.06") enum class RouteType
@PublicPreview("2021.06") enum class RouteType
interface RoutingApi
Module Contents
const val DEFAULT_ONLINE_ROUTING_ENDPOINT: String
const val DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION: String
@DeprecatedSince("2020.07") abstract fun findReachableRange(query: ReachableRangeQuery): Single<ReachableRangeResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(reachableRangeSpecification, reachableAreaCallback)") abstract fun findReachableRange(query: ReachableRangeQuery, listener: ReachableRangeResultListener): Unit
@DeprecatedSince("2020.07") abstract fun planBatchRoute(batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(batchRoutingSpecification, batchRoutesCallback)") abstract fun planBatchRoute(batchQuery: BatchRoutingQuery, listener: BatchableRoutingResultListener): Unit
@DeprecatedSince("2020.07") abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(matrixRouteSpecification, matrixRouteCallback)") abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery, listener: MatrixRoutingResultListener): Unit
@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>
@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification, reachableAreaCallback: ReachableAreaCallback): Unit
@DeprecatedSince("2020.07") abstract fun planRoute(routeQuery: RouteQuery): Single<RouteResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(routeSpecification, routeCallback)") abstract fun planRoute(routeQuery: RouteQuery, callback: RouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoute(routeSpecification: RouteSpecification): Result<RoutePlan>
@PublicPreview("2021.06") abstract fun planRoute(routeSpecification: RouteSpecification, routeCallback: RouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoute(evRouteSpecification: EvRouteSpecification): Result<EvRoutePlan>
@PublicPreview("2021.06") abstract fun planRoute(evRouteSpecification: EvRouteSpecification, callback: EvRouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
@PublicPreview("2021.06") abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification, batchRoutesCallback: BatchRoutesCallback): Unit
@PublicPreview("2021.06") abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
@PublicPreview("2021.06") abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification, matrixRoutesCallback: MatrixRoutesCallback): Unit
open class RoutingException : Exception
class RoutingException : RuntimeException
@PublicPreview("2021.06") data class Section : Serializable
class SectionType
@PublicPreview("2021.06") enum class SectionType
@PublicPreview("2021.06") enum class SimpleCategory
open class SpeedToConsumptionMap
open class Summary : Serializable
Module Contents
Summary()
Summary(lengthInMeters: Int, travelTimeInSeconds: Int, trafficDelayInSeconds: Int, departureTime: String!, arrivalTime: String!, noTrafficTravelTimeInSeconds: Int, historicTrafficTravelTimeInSeconds: Int, liveTrafficIncidentsTravelTimeInSeconds: Int, fuelConsumptionInLiters: Float, batteryConsumptionInkWh: Float, deviationDistance: Int, deviationTime: Int, deviationPoint: LatLng!)
protected var arrivalTime: String!
protected var batteryConsumptionInkWh: Float
protected var departureTime: String!
protected var deviationDistance: Int
protected var deviationPoint: LatLng!
protected var deviationTime: Int
protected var fuelConsumptionInLiters: Float
@Nullable open fun getArrivalTimeWithZone(): DateTime?
open fun getBatteryConsumptionInkWh(): Float
@Nullable open fun getDepartureTimeWithZone(): DateTime?
open fun getDeviationDistance(): Int
open fun getDeviationPoint(): LatLng!
open fun getDeviationTime(): Int
open fun getFuelConsumptionInLiters(): Float
open fun getHistoricTrafficTravelTimeInSeconds(): Int
open fun getLengthInMeters(): Int
open fun getLiveTrafficIncidentsTravelTimeInSeconds(): Int
open fun getNoTrafficTravelTimeInSeconds(): Int
open fun getRawArrivalTime(): String!
open fun getRawDepartureTime(): String!
open fun getTrafficDelayInSeconds(): Int
open fun getTravelTimeInSeconds(): Int
protected var historicTrafficTravelTimeInSeconds: Int
protected var lengthInMeters: Int
protected var liveTrafficIncidentsTravelTimeInSeconds: Int
protected var noTrafficTravelTimeInSeconds: Int
@NonNull open fun toString(): String
protected var trafficDelayInSeconds: Int
protected var travelTimeInSeconds: Int
@PublicPreview("2021.06") data class Summary : Serializable
@PublicPreview("2021.06") data class Summary : Serializable
interface SupportsReportParam<T : SupportsReportParam<SupportsReportParam<*>>!>
open class Tec : Serializable
@PublicPreview("2021.06") data class Tec : Serializable
@PublicPreview("2021.06") enum class TrafficInformation
class TravelMode
@PublicPreview("2021.06") enum class TravelMode
@PublicPreview("2021.06") enum class TravelMode
class TravelTimeType
@PublicPreview("2021.06") enum class VehicleAdrTunnelRestrictionCode
@PublicPreview("2021.06") data class VehicleDimensions
@PublicPreview("2021.06") data class VehicleEfficiency
class VehicleEngineType
@PublicPreview("2021.06") enum class VehicleEngineType
class VehicleLoadType
@PublicPreview("2021.06") enum class VehicleLoadType
@PublicPreview("2021.06") data class VehicleRestrictions
class Windingness
@PublicPreview("2021.06") enum class Windingness
package com.tomtom.online.sdk
Module Contents
open class NativeReachableRange : NativeService<ReachableRangeResponse!, ReachableRangeQuery!>
Module Contents
NativeReachableRange(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): ReachableRangeResponse
package com.tomtom.online.sdk.data
package com.tomtom.online.sdk.data.reachablerange
Module Contents
@DeprecatedSince("2020.06") interface IReachableRangeQuery
interface ReachableRangeParams : JniNativeHandleOwner
open class ReachableRangeParamsBuilder : ReachableRangeParams
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification") open class ReachableRangeQuery : CommonRequestQuery
Module Contents
ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
ReachableRangeQuery(fuelBudgetInLiters: Double!, energyBudgetInKWh: Double!, timeBudgetInSeconds: Double!, distanceBudgetInMeters: Double!, origin: LatLng!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun equals(other: Any?): Boolean
open fun getAvoidList(): MutableList<Avoid!>!
open fun getDistanceBudgetInMeters(): Double!
open fun getEnergyBudgetInKWh(): Double!
open fun getFuelBudgetInLiters(): Double!
open fun getNativeHandle(): Long
open fun getOrigin(): LatLng!
open fun getTimeBudgetInSeconds(): Double!
open fun hashCode(): Int
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeSpecification.Builder") class ReachableRangeQueryBuilder : IReachableRangeQuery
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.reachablerange.ReachableRangeArea") open class ReachableRangeResponse : ServiceBaseResponse, Serializable, BatchableRoutingResponse
open class ReachableRangeResult
package com.tomtom.online.sdk.routing
Module Contents
interface BatchableRoutingResponse : ServiceResponse, Visitable<BatchableRoutingResponseVisitor!>
interface BatchableRoutingResultListener
class BuildConfig
class BuildConfig
interface MatrixRoutingResultListener
open class NativeBatchRouting : NativeService<BatchRoutingResponse!, BatchRoutingQuery!>
Module Contents
NativeBatchRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): BatchRoutingResponse
open class NativeLongDistanceEVRouting : NativeService<LongDistanceEVRoutingResponse!, LongDistanceEVRoutingQuery!>
Module Contents
NativeLongDistanceEVRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVer: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVer: String!): Unit
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): LongDistanceEVRoutingResponse
open class NativeMatrixRouting : NativeService<MatrixRoutingResponse!, MatrixRoutingQuery!>
Module Contents
NativeMatrixRouting(server: String!, apiVersion: String!, apiKey: String!, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!)
protected open fun cancel(handle: Long): Unit
protected open fun construct(server: String!, apiVersion: String!, apiKey: String!): Long
protected open fun destruct(handle: Long): Unit
protected open fun initializeAnalytics(nativeHandle: Long, sdkVersion: String!, applicationClientId: String!, applicationClientVersion: String!): Unit
open fun query(query: MatrixRoutingQuery!): Single<MatrixRoutingResponse!>!
@NonNull protected open fun requestSync(handle: Long, queryHandle: Long): MatrixRoutingResponse
open class OnlineRoutingApi : RoutingApi
Module Contents
@DeprecatedSince("2020.06") open static fun create(@NonNull context: Context): RoutingApi!
open static fun create(@NonNull context: Context, @NonNull apiKey: String): RoutingApi!
@NonNull open fun findReachableRange(@NonNull query: ReachableRangeQuery): Single<ReachableRangeResponse>
open fun findReachableRange(@NonNull query: ReachableRangeQuery, @NonNull listener: ReachableRangeResultListener): Unit
@NonNull open fun planBatchRoute(@NonNull batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>
open fun planBatchRoute(@NonNull batchQuery: BatchRoutingQuery, @NonNull listener: BatchableRoutingResultListener): Unit
@NonNull open fun planMatrixRoutes(@NonNull matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>
open fun planMatrixRoutes(@NonNull matrixQuery: MatrixRoutingQuery, @NonNull listener: MatrixRoutingResultListener): Unit
@NonNull open fun planReachableRange(@NonNull reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>
open fun planReachableRange(@NonNull reachableRangeSpecification: ReachableRangeSpecification, @NonNull reachableAreaCallback: ReachableAreaCallback): Unit
@NonNull open fun planRoute(@NonNull routeQuery: RouteQuery): Single<RouteResponse>
open fun planRoute(@NonNull routeQuery: RouteQuery, @NonNull callback: RouteCallback): Unit
@NonNull open fun planRoute(@NonNull evRouteSpecification: EvRouteSpecification): Result<EvRoutePlan>
open fun planRoute(@NonNull evRouteSpecification: EvRouteSpecification, @NonNull callback: EvRouteCallback): Unit
@NonNull open fun planRoute(@NonNull routeSpecification: RouteSpecification): Result<RoutePlan>
open fun planRoute(@NonNull routeSpecification: RouteSpecification, @NonNull routeCallback: RouteCallback): Unit
@NonNull open fun planRoutes(@NonNull batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
@NonNull open fun planRoutes(@NonNull matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
open fun planRoutes(@NonNull batchRoutesSpecification: BatchRoutesSpecification, @NonNull batchRoutesCallback: BatchRoutesCallback): Unit
open fun planRoutes(@NonNull matrixRoutesSpecification: MatrixRoutesSpecification, @NonNull matrixRoutesCallback: MatrixRoutesCallback): Unit
interface ReachableRangeResultListener
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteCallback") interface RouteCallback
interface RoutingApi
Module Contents
const val DEFAULT_ONLINE_ROUTING_ENDPOINT: String
const val DEFAULT_ONLINE_ROUTING_SERVICE_API_VERSION: String
@DeprecatedSince("2020.07") abstract fun findReachableRange(query: ReachableRangeQuery): Single<ReachableRangeResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(reachableRangeSpecification, reachableAreaCallback)") abstract fun findReachableRange(query: ReachableRangeQuery, listener: ReachableRangeResultListener): Unit
@DeprecatedSince("2020.07") abstract fun planBatchRoute(batchQuery: BatchRoutingQuery): Single<BatchRoutingResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(batchRoutingSpecification, batchRoutesCallback)") abstract fun planBatchRoute(batchQuery: BatchRoutingQuery, listener: BatchableRoutingResultListener): Unit
@DeprecatedSince("2020.07") abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery): Single<MatrixRoutingResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(matrixRouteSpecification, matrixRouteCallback)") abstract fun planMatrixRoutes(matrixQuery: MatrixRoutingQuery, listener: MatrixRoutingResultListener): Unit
@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification): Result<ReachableRangeArea>
@PublicPreview("2021.06") abstract fun planReachableRange(reachableRangeSpecification: ReachableRangeSpecification, reachableAreaCallback: ReachableAreaCallback): Unit
@DeprecatedSince("2020.07") abstract fun planRoute(routeQuery: RouteQuery): Single<RouteResponse>
@DeprecatedSince("2020.06", "RoutingApi.planRoute(routeSpecification, routeCallback)") abstract fun planRoute(routeQuery: RouteQuery, callback: RouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoute(routeSpecification: RouteSpecification): Result<RoutePlan>
@PublicPreview("2021.06") abstract fun planRoute(routeSpecification: RouteSpecification, routeCallback: RouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoute(evRouteSpecification: EvRouteSpecification): Result<EvRoutePlan>
@PublicPreview("2021.06") abstract fun planRoute(evRouteSpecification: EvRouteSpecification, callback: EvRouteCallback): Unit
@PublicPreview("2021.06") abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification): Result<BatchRoutesPlan>
@PublicPreview("2021.06") abstract fun planRoutes(batchRoutesSpecification: BatchRoutesSpecification, batchRoutesCallback: BatchRoutesCallback): Unit
@PublicPreview("2021.06") abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification): Result<MatrixRoutesPlan>
@PublicPreview("2021.06") abstract fun planRoutes(matrixRoutesSpecification: MatrixRoutesSpecification, matrixRoutesCallback: MatrixRoutesCallback): Unit
class RoutingException : RuntimeException
package com.tomtom.online.sdk.routing.batch
package com.tomtom.online.sdk.routing.data
Module Contents
class AdrTunnelRestrictionCode
class AlternativeType
class Avoid
open class Cause : Serializable
open class EffectiveSetting : Serializable
open class FullRoute : MatchingDataProvider, Serializable
class Hilliness
open class Instruction : Serializable
Module Contents
Instruction()
Instruction(routeOffsetInMeters: Int, travelTimeInSeconds: Int, point: LatLng!, instructionType: String!, street: String!, roadNumbers: Array<String!>!, exitNumber: String!, countryCode: String!, signpostText: String!, junctionType: String!, turnAngleInDecimalDegrees: Int, roundaboutExitNumber: Int, possibleCombineWithNext: Boolean, drivingSide: String!, maneuver: String!, message: String!, combinedMessage: String!)
protected var combinedMessage: String!
protected var countryCode: String!
protected var drivingSide: String!
protected var exitNumber: String!
open fun getCombinedMessage(): String!
open fun getCountryCode(): String!
open fun getDrivingSide(): String!
open fun getExitNumber(): String!
open fun getInstructionType(): String!
open fun getJunctionType(): String!
open fun getManeuver(): String!
open fun getMessage(): String!
open fun getPoint(): LatLng!
open fun getRoadNumbers(): Array<String!>!
open fun getRoundaboutExitNumber(): Int
open fun getRouteOffsetInMeters(): Int
open fun getSignpostText(): String!
open fun getStreet(): String!
open fun getTravelTimeInSeconds(): Int
open fun getTurnAngleInDecimalDegrees(): Int
protected var instructionType: String!
open fun isPossibleCombineWithNext(): Boolean
protected var junctionType: String!
protected var maneuver: String!
protected var message: String!
protected var point: LatLng!
protected var possibleCombineWithNext: Boolean
protected var roadNumbers: Array<String!>!
protected var roundaboutExitNumber: Int
protected var routeOffsetInMeters: Int
protected var signpostText: String!
protected var street: String!
open fun toString(): String
protected var travelTimeInSeconds: Int
protected var turnAngleInDecimalDegrees: Int
open class InstructionGroup : Serializable
class InstructionsType
@DeprecatedSince("2020.06") interface IRouteQuery
open class OptimizedWaypoint : Serializable
class Report
open class ResultReport : Serializable
open class RouteGuidance : Serializable
open class RouteLeg : Serializable
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.route.RouteSpecification") open class RouteQuery : CommonRequestQuery
Module Contents
RouteQuery(origPosition: LatLng!, destPosition: LatLng!, wayPoints: Array<LatLng!>!, wayPointsList: MutableList<LatLng!>!, wayPointsWithAcc: MutableList<LatLngAcc!>!, maxAlternatives: Int!, alternativeType: AlternativeType!, minDeviationDistance: Int!, minDeviationTime: Int!, instructionsType: InstructionsType!, language: String!, computeBestOrder: Boolean!, routeRepresentation: RouteRepresentation!, computeTravelTimeFor: TravelTimeType!, vehicleHeading: Int!, sectionType: SectionType!, report: Report!, supportingPoints: MutableList<LatLng!>!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, arriveAt: Date!, avoidAreas: MutableList<BoundingBox!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, vehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun equals(other: Any?): Boolean
open fun getAllowVignettes(): MutableList<String!>!
open fun getAlternativeType(): AlternativeType!
open fun getArriveAt(): Date!
open fun getAvoidAreas(): MutableList<BoundingBox!>!
open fun getAvoidList(): MutableList<Avoid!>!
open fun getAvoidVignettes(): MutableList<String!>!
open fun getComputeBestOrder(): Boolean!
open fun getComputeTravelTimeFor(): TravelTimeType!
open fun getDestPosition(): LatLng!
open fun getInstructionsType(): InstructionsType!
open fun getLanguage(): String!
open fun getMaxAlternatives(): Int!
open fun getMinDeviationDistance(): Int!
open fun getMinDeviationTime(): Int!
open fun getNativeHandle(): Long
open fun getOrigPosition(): LatLng!
open fun getReport(): Report!
open fun getRouteRepresentation(): RouteRepresentation!
open fun getSectionType(): SectionType!
open fun getSupportingPoints(): MutableList<LatLng!>!
open fun getVehicleHeading(): Int!
open fun getWayPoints(): Array<LatLng!>!
open fun getWayPointsList(): MutableList<LatLng!>!
open fun getWayPointsWithAcc(): MutableList<LatLngAcc!>!
open fun hashCode(): Int
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "RouteSpecification.Builder") class RouteQueryBuilder : IRouteQuery
class RouteRepresentation
open class RouteResponse : ServiceBaseResponse, Serializable, BatchableRoutingResponse
open class RouteSection : Serializable
class RouteType
open class RoutingException : Exception
class SectionType
open class Summary : Serializable
Module Contents
Summary()
Summary(lengthInMeters: Int, travelTimeInSeconds: Int, trafficDelayInSeconds: Int, departureTime: String!, arrivalTime: String!, noTrafficTravelTimeInSeconds: Int, historicTrafficTravelTimeInSeconds: Int, liveTrafficIncidentsTravelTimeInSeconds: Int, fuelConsumptionInLiters: Float, batteryConsumptionInkWh: Float, deviationDistance: Int, deviationTime: Int, deviationPoint: LatLng!)
protected var arrivalTime: String!
protected var batteryConsumptionInkWh: Float
protected var departureTime: String!
protected var deviationDistance: Int
protected var deviationPoint: LatLng!
protected var deviationTime: Int
protected var fuelConsumptionInLiters: Float
@Nullable open fun getArrivalTimeWithZone(): DateTime?
open fun getBatteryConsumptionInkWh(): Float
@Nullable open fun getDepartureTimeWithZone(): DateTime?
open fun getDeviationDistance(): Int
open fun getDeviationPoint(): LatLng!
open fun getDeviationTime(): Int
open fun getFuelConsumptionInLiters(): Float
open fun getHistoricTrafficTravelTimeInSeconds(): Int
open fun getLengthInMeters(): Int
open fun getLiveTrafficIncidentsTravelTimeInSeconds(): Int
open fun getNoTrafficTravelTimeInSeconds(): Int
open fun getRawArrivalTime(): String!
open fun getRawDepartureTime(): String!
open fun getTrafficDelayInSeconds(): Int
open fun getTravelTimeInSeconds(): Int
protected var historicTrafficTravelTimeInSeconds: Int
protected var lengthInMeters: Int
protected var liveTrafficIncidentsTravelTimeInSeconds: Int
protected var noTrafficTravelTimeInSeconds: Int
@NonNull open fun toString(): String
protected var trafficDelayInSeconds: Int
protected var travelTimeInSeconds: Int
open class Tec : Serializable
class TravelMode
class TravelTimeType
class VehicleEngineType
class VehicleLoadType
class Windingness
package com.tomtom.online.sdk.routing.data.batch
package com.tomtom.online.sdk.routing.data.longDistanceEV
Module Contents
interface ILongDistanceEVRoutingQuery
open class LongDistanceEVRoutingQuery : BaseRequestQuery, NativeObject
Module Contents
LongDistanceEVRoutingQuery(@NonNull origin: LatLng, @NonNull destination: LatLng, @NonNull speedConsumptionInKWhPerHundredKm: MutableMap<Double!, Double!>, @NonNull currentChargeInKWh: Double, @NonNull maxChargeInkWh: Double, @NonNull minChargeAtDestinationInkWh: Double, @NonNull minChargeAtChargingStopsInkWh: Double, @NonNull chargingModes: MutableList<NativeChargingMode!>, report: NativeReportType!, departAt: String!, routeType: NativeRouteType!, traffic: Boolean!, avoidTypes: MutableList<NativeAvoidType!>!, travelMode: NativeTravelMode!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: NativeVehicleLoadType!, vehicleAdrTunnelRestrictionCode: NativeVehicleAdrTunnelRestrictionCode!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, auxiliaryPowerInKW: Double!, avoidVignettes: MutableList<String!>!, allowVignettes: MutableList<String!>!, avoidAreas: MutableList<BoundingBox!>!, routeRepresentation: NativeRouteRepresentation!, vehicleHeading: Int!, sectionType: NativeSectionType!)
open fun dispose(): Unit
open fun getAccelerationEfficiency(): Double!
open fun getAllowVignettes(): MutableList<String!>!
open fun getAuxiliaryPowerInKW(): Double!
open fun getAvoidAreas(): MutableList<BoundingBox!>!
open fun getAvoidTypes(): MutableList<NativeAvoidType!>!
open fun getAvoidVignettes(): MutableList<String!>!
open fun getChargingModes(): MutableList<NativeChargingMode!>!
open fun getCurrentChargeInKWh(): Double!
open fun getDecelerationEfficiency(): Double!
open fun getDepartAt(): String!
open fun getDestination(): LatLng!
open fun getDownhillEfficiency(): Double!
open fun getMaxChargeInkWh(): Double!
open fun getMinChargeAtChargingStopsInkWh(): Double!
open fun getMinChargeAtDestinationInkWh(): Double!
open fun getNativeHandle(): Long
open fun getOrigin(): LatLng!
open fun getReport(): NativeReportType!
open fun getRouteRepresentation(): NativeRouteRepresentation!
open fun getRouteType(): NativeRouteType!
open fun getSectionType(): NativeSectionType!
open fun getSpeedConsumptionInKWhPerHundredKm(): MutableMap<Double!, Double!>!
open fun getTraffic(): Boolean!
open fun getTravelMode(): NativeTravelMode!
open fun getUphillEfficiency(): Double!
open fun getVehicleAdrTunnelRestrictionCode(): NativeVehicleAdrTunnelRestrictionCode!
open fun getVehicleAxleWeightInKg(): Int!
open fun getVehicleHeading(): Int!
open fun getVehicleHeightInMeters(): Double!
open fun getVehicleLengthInMeters(): Double!
open fun getVehicleLoadType(): NativeVehicleLoadType!
open fun getVehicleMaxSpeedInKph(): Int!
open fun getVehicleWeightInKg(): Int!
open fun getVehicleWidthInMeters(): Double!
open fun isVehicleCommercial(): Boolean!
open fun prepare(): Long
@NonNull open fun toString(): String
class LongDistanceEVRoutingQueryBuilder : ILongDistanceEVRoutingQuery
Module Contents
LongDistanceEVRoutingQueryBuilder(origin: LatLng, destination: LatLng, speedConsumptionInKWhPerHundredKm: Map<Double, Double>, currentChargeInKWh: Double, maxChargeInkWh: Double, minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<NativeChargingMode>)
fun build(): LongDistanceEVRoutingQuery
@JvmStatic fun create(origin: LatLng, destination: LatLng, speedConsumptionInKWhPerHundredKm: Map<Double, Double>, currentChargeInKWh: Double, maxChargeInkWh: Double, minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<NativeChargingMode>): LongDistanceEVRoutingQueryBuilder
fun withAccelerationEfficiency(accelerationEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withAllowVignette(allowVignette: String): LongDistanceEVRoutingQueryBuilder
fun withAllowVignettes(allowVignettes: MutableList<String>): LongDistanceEVRoutingQueryBuilder
fun withAuxiliaryPowerInKW(auxiliaryPowerInKW: Double): LongDistanceEVRoutingQueryBuilder
fun withAvoidArea(avoidArea: BoundingBox): LongDistanceEVRoutingQueryBuilder
fun withAvoidAreas(avoidAreas: MutableList<BoundingBox>): LongDistanceEVRoutingQueryBuilder
fun withAvoidType(avoidType: NativeAvoidType): LongDistanceEVRoutingQueryBuilder
fun withAvoidTypes(avoidTypes: MutableList<NativeAvoidType>): LongDistanceEVRoutingQueryBuilder
fun withAvoidVignette(avoidVignette: String): LongDistanceEVRoutingQueryBuilder
fun withAvoidVignettes(avoidVignettes: MutableList<String>): LongDistanceEVRoutingQueryBuilder
fun withDecelerationEfficiency(decelerationEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withDepartAt(departAt: String): LongDistanceEVRoutingQueryBuilder
fun withDownhillEfficiency(downhillEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withIsVehicleCommercial(isVehicleCommercial: Boolean): LongDistanceEVRoutingQueryBuilder
fun withReport(reportType: NativeReportType): LongDistanceEVRoutingQueryBuilder
fun withRouteRepresentation(routeRepresentation: NativeRouteRepresentation): LongDistanceEVRoutingQueryBuilder
fun withRouteType(routeType: NativeRouteType): LongDistanceEVRoutingQueryBuilder
fun withSectionType(sectionType: NativeSectionType): LongDistanceEVRoutingQueryBuilder
fun withTraffic(traffic: Boolean): LongDistanceEVRoutingQueryBuilder
fun withTravelMode(travelMode: NativeTravelMode): LongDistanceEVRoutingQueryBuilder
fun withUphillEfficiency(uphillEfficiency: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleAdrTunnelRestrictionCode(vehicleAdrTunnelRestrictionCode: NativeVehicleAdrTunnelRestrictionCode): LongDistanceEVRoutingQueryBuilder
fun withVehicleAxleWeightInKg(vehicleAxleWeightInKg: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleHeading(vehicleHeading: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleHeightInMeters(vehicleHeightInMeters: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleLengthInMeters(vehicleLengthInMeters: Double): LongDistanceEVRoutingQueryBuilder
fun withVehicleLoadType(vehicleLoadType: NativeVehicleLoadType): LongDistanceEVRoutingQueryBuilder
fun withVehicleMaxSpeedInKph(vehicleMaxSpeedInKph: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleWeightInKg(vehicleWeightInKg: Int): LongDistanceEVRoutingQueryBuilder
fun withVehicleWidthInMeters(vehicleWidthInMeters: Double): LongDistanceEVRoutingQueryBuilder
open class LongDistanceEVRoutingResponse : ServiceBaseResponse, Serializable
package com.tomtom.online.sdk.routing.data.longDistanceEV.charging
package com.tomtom.online.sdk.routing.data.longDistanceEV.query
package com.tomtom.online.sdk.routing.data.longDistanceEV.response
package com.tomtom.online.sdk.routing.data.matrix
Module Contents
open class MatrixRoutingParams : JniNativeHandleOwner
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesSpecification") open class MatrixRoutingQuery : CommonRequestQuery
Module Contents
MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!)
MatrixRoutingQuery(origins: MutableList<LatLng!>!, destinations: MutableList<LatLng!>!, departAt: Date!, routeType: RouteType!, considerTraffic: Boolean!, avoidType: Avoid!, avoidsList: MutableList<Avoid!>!, travelMode: TravelMode!, hilliness: Hilliness!, windingness: Windingness!, vehicleMaxSpeedInKph: Int!, vehicleWeightInKg: Int!, vehicleAxleWeightInKg: Int!, vehicleLengthInMeters: Double!, vehicleWidthInMeters: Double!, vehicleHeightInMeters: Double!, isVehicleCommercial: Boolean!, vehicleLoadType: VehicleLoadType!, vehicleEngineType: VehicleEngineType!, constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!, currentFuelInLiters: Double!, auxiliaryPowerInLitersPerHour: Double!, fuelEnergyDensityInMJoulesPerLiter: Double!, accelerationEfficiency: Double!, decelerationEfficiency: Double!, uphillEfficiency: Double!, downhillEfficiency: Double!, constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!, currentChargeInKWh: Double!, maxChargeInKWh: Double!, auxiliaryPowerInKW: Double!, adrTunnelRestrictionCode: AdrTunnelRestrictionCode!)
open fun dispose(): Unit
open fun getDestinations(): MutableList<LatLng!>!
open fun getNativeHandle(): Long
open fun getOrigins(): MutableList<LatLng!>!
open fun prepare(): Long
@NonNull open fun toString(): String
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesSpecification.Builder") class MatrixRoutingQueryBuilder
@DeprecatedSince("2020.06", "com.tomtom.online.sdk.routing.matrix.MatrixRoutesPlan") class MatrixRoutingResponse : ServiceBaseResponse
class MatrixRoutingResult
class MatrixRoutingResultKey
class MatrixSummary
package com.tomtom.online.sdk.routing.ev
package com.tomtom.online.sdk.routing.ev.charging
package com.tomtom.online.sdk.routing.ev.route
package com.tomtom.online.sdk.routing.matrix
package com.tomtom.online.sdk.routing.matrix.route
package com.tomtom.online.sdk.routing.reachablerange
package com.tomtom.online.sdk.routing.route
package com.tomtom.online.sdk.routing.route.calculation
package com.tomtom.online.sdk.routing.route.description
package com.tomtom.online.sdk.routing.route.diagnostic
package com.tomtom.online.sdk.routing.route.information
package com.tomtom.online.sdk.routing.route.vehicle