Routing

  • Types of access attributes.

    See more

    Declaration

    Swift

    public enum AccessAttributes : UInt32, CaseIterable, Codable
  • Holds all the agency information.

    See more

    Declaration

    Swift

    public struct Agency : Hashable
  • The options explicitly allowed by user for route calculations.

    See more

    Declaration

    Swift

    public struct AllowOptions : Hashable
  • Holds all the data on a URL address to an external resource.

    See more

    Declaration

    Swift

    public struct Attribution : Hashable
  • Attribution link type.

    See more

    Declaration

    Swift

    public enum AttributionType : UInt32, CaseIterable, Codable
  • The options to specify restrictions for route calculations.

    See more

    Declaration

    Swift

    public struct AvoidanceOptions : Hashable
  • The options to specify rectangular shape which routes must not cross.

    See more

    Declaration

    Swift

    public struct AvoidBoundingBoxAreaOptions : Hashable
  • Area of corridor shape which routes must not cross and exceptions for this area.

    See more

    Declaration

    Swift

    public struct AvoidCorridorAreaOptions : Hashable
  • The options to specify polygon shape which routes must not cross.

    See more

    Declaration

    Swift

    public struct AvoidPolygonAreaOptions : Hashable
  • Parameters related to the electric vehicle’s battery.

    See more

    Declaration

    Swift

    public struct BatterySpecifications : Hashable
  • All the options to specify how a bicycle route should be calculated.

    See more

    Declaration

    Swift

    public struct BicycleOptions : Hashable
  • All the options to specify how a bus route should be calculated.

    See more

    Declaration

    Swift

    public struct BusOptions : Hashable
  • All the options to specify how a car route should be calculated.

    See more

    Declaration

    Swift

    public struct CarOptions : Hashable
  • A function which is called by the RoutingEngine after isoline calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is nil for an operation that succeeds. The second argument holds a list of calculated isolines. The list is nil in case of an error. The size of the list matches the size of the provided sdk.routing.IsolineOptions.range_values: For each range limit, one isoline is calculated.

    Declaration

    Swift

    public typealias CalculateIsolineCompletionHandler = (_ routingError: RoutingError?, _ isolines: [Isoline]?) -> Void

    Parameters

    routingError

    The error in case of a failure. It is nil for an operation that succeeds.

    isolines

    Holds a list of calculated isolines. The list is nil in case of an error.

  • A function which is called by the RoutingEngine after route calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is nil for an operation that succeeds. The second argument is the calculated routes. It is nil in case of an error.

    Declaration

    Swift

    public typealias CalculateRouteCompletionHandler = (_ routingError: RoutingError?, _ routeList: [Route]?) -> Void

    Parameters

    routingError

    The error in case of a failure. It is nil for an operation that succeeds.

    routeList

    The calculated routes. It is nil in case of an error.

  • A function which is called by the RoutingEngine after route traffic calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is nil for an operation that succeeds. The second argument is the calculated route traffic. It is nil in case of an error.

    Declaration

    Swift

    public typealias CalculateTrafficOnRouteCompletionHandler = (_ routingError: RoutingError?, _ trafficOnRoute: TrafficOnRoute?) -> Void

    Parameters

    routingError

    The error in case of a failure. It is nil for an operation that succeeds.

    trafficOnRoute

    The calculated route traffic. It is nil in case of an error.

  • Parameters related to the electric vehicle’s charging action.

    See more

    Declaration

    Swift

    public struct ChargingActionDetails : Hashable
  • Details of the connector that is suggested to be used in the section’s PostAction‘s for charging.

    See more

    Declaration

    Swift

    public struct ChargingConnectorAttributes : Hashable
  • Available charging connector types.

    See more

    Declaration

    Swift

    public enum ChargingConnectorType : UInt32, CaseIterable, Codable
  • Data for an electric vehicle charging station.

    See more

    Declaration

    Swift

    public struct ChargingStation : Hashable
  • The options to specify a user-planned charging stop. Note: In order to specify this ChargingStop, it is also required to set [sdk.routing.BatterySpecifications.total_capacity_in_kilowatt_hours], [sdk.routing.BatterySpecifications.initial_charge_in_kilowatt_hours], and [sdk.routing.BatterySpecifications.charging_curve]. Without all of them, the route calculation will fail as an invalid parameter error.

    See more

    Declaration

    Swift

    public struct ChargingStop : Hashable
  • Available charging supply types.

    See more

    Declaration

    Swift

    public enum ChargingSupplyType : UInt32, CaseIterable, Codable
  • Provides estimated speed information.

    See more

    Declaration

    Swift

    public struct DynamicSpeedInfo : Hashable
  • These options define the parameters of the electric vehicle. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct ElectricVehicleOptions : Hashable
  • This model defines the empirical consumption mode used in electric vehicles.

    Parameters specific for the electric vehicle, which are then used to calculate energy consumption on a given route. At minimum, you must provide EmpiricalConsumptionModel.ascentConsumptionInWattHoursPerMeter, EmpiricalConsumptionModel.descentRecoveryInWattHoursPerMeter and a EmpiricalConsumptionModel.freeFlowSpeedTable. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct EmpiricalConsumptionModel : Hashable
  • All the options to specify how a route for an electric car should be calculated. At minimum, a valid EVConsumptionModel must be set or the route calculation will fail.
    Note: EVCarOptions.ensureReachability must be true to make sure that all stopovers are reachable. For this, charging stations may be added to the route. If EVCarOptions.ensureReachability is true, you need to specify the required route options and battery specifications that include the current charge level of the battery (BatterySpecifications.initialChargeInKilowattHours). See the parameter description below for more details.

    See more

    Declaration

    Swift

    public struct EVCarOptions : Hashable
  • A charging pool for electric vehicles is an area equipped with one or more charging stations.

    Use PlaceCategory.businessAndServicesEvChargingStation to find stations. In the Details of a Place result you can find the list of found pools containing stations, if any.

    For offline EV rich attributes, also enable LayerConfiguration.Feature.ev in SDKOptions.layerConfiguration.

    See more

    Declaration

    Swift

    public struct EVChargingPool : Hashable
  • Group of connectors for electrical vehicles, defined by a common charging connector type and max power level.

    Use PlaceCategory.businessAndServicesEvChargingStation to find stations. In the Details of a Place result you can find the list of found pools containing stations, if any.

    For offline EV rich attributes, also enable LayerConfiguration.Feature.ev in SDKOptions.layerConfiguration.

    See more

    Declaration

    Swift

    public struct EVChargingStation : Hashable
  • Parameters specific for the electric vehicle, which are then used to calculate energy consumption on a given route. At minimum, you must provide EVConsumptionModel.ascentConsumptionInWattHoursPerMeter, EVConsumptionModel.descentRecoveryInWattHoursPerMeter and a EVConsumptionModel.freeFlowSpeedTable.

    See more

    Declaration

    Swift

    public struct EVConsumptionModel : Hashable
  • Defines preference level per known E-Mobility Service Provider. The E-Mobility Service Provider ID partner id as received from https://www.here.com/docs/bundle/ev-charge-points-api-developer-guide/page/topics/resource-roamings.html An alternative way to get partnerId is the eMobilityServiceProviders.partnerId as part of HERE SDK Search. Maximum number of E-Mobility Service Providers is limited to 10 across all preference. Defaults to using all available providers with no prioritization.

    See more

    Declaration

    Swift

    public struct EVMobilityServiceProviderPreferences : Hashable
  • All the options to specify how a route for an electric truck should be calculated.

    See more

    Declaration

    Swift

    public struct EVTruckOptions : Hashable
  • Holds all the fare data.

    See more

    Declaration

    Swift

    public struct Fare : Hashable
  • Price of a fare.

    See more

    Declaration

    Swift

    public struct FarePrice : Hashable
  • Type of price represented by a FarePrice object.

    See more

    Declaration

    Swift

    public enum FarePriceType : UInt32, CaseIterable, Codable
  • Reason for the cost.

    See more

    Declaration

    Swift

    public enum FareReason : UInt32, CaseIterable, Codable
  • Types of function road class.

    See more

    Declaration

    Swift

    public enum FunctionalRoadClass : UInt32, CaseIterable, Codable
  • Identifiers for different types of hazardous materials which can be shipped by the truck.

    See more

    Declaration

    Swift

    public enum HazardousMaterial : UInt32, CaseIterable, Codable
  • Represents an isoline polygon around a center point. Any possible route between the center and any point on the edges of the polygon can be travelled within the given range restriction. The edges of the polygon are not guaranteed to be on the road as all reachable road endpoints are smoothened to fit into one polygon shape. This process can be influenced by setting IsolineOptions.Calculation.maxPoints.

    See more

    Declaration

    Swift

    public class Isoline
    extension Isoline: NativeBase
    extension Isoline: Hashable
  • Specifies how isoline calculation is optimized.

    See more

    Declaration

    Swift

    public enum IsolineCalculationMode : UInt32, CaseIterable, Codable
  • Specifies options for isolines calculation.

    See more

    Declaration

    Swift

    public struct IsolineOptions
  • Specifies the type of one or more range values to be included in the isoline. This value defines the restriction that is used to calculate the reachable area.

    See more

    Declaration

    Swift

    public enum IsolineRangeType : UInt32, CaseIterable, Codable
  • Use the IsolineRoutingEngine to calculate a reachable area from a center point. The calculation is done asynchronously and requires an online connection.

    See more

    Declaration

    Swift

    public class IsolineRoutingEngine
    extension IsolineRoutingEngine: NativeBase
    extension IsolineRoutingEngine: Hashable
  • Indicates the option of localized text usage.

    See more

    Declaration

    Swift

    public enum LocalizedTextPreference : UInt32, CaseIterable, Codable
  • This class provides all the information for a maneuver. The directional information (e.g. road names, road numbers and signpost direction) is stored in Maneuver.roadTexts and Maneuver.nextRoadTexts attributes. As for the motorway exit information, it can be obtained from Maneuver.exitSignTexts attribute.

    See more

    Declaration

    Swift

    public class Maneuver
    extension Maneuver: NativeBase
    extension Maneuver: Hashable
  • Maneuver action type.

    See more

    Declaration

    Swift

    public enum ManeuverAction : UInt32, CaseIterable, Codable
  • Information about the user defined coordinates and where they match to the map.

    See more

    Declaration

    Swift

    public struct MapMatchedCoordinates : Hashable
  • Specifies how the location set by Waypoint.sideOfStreetHint should be handled. This setting might affect the geometry of the resulting route.

    See more

    Declaration

    Swift

    public enum MatchSideOfStreet : UInt32, CaseIterable, Codable
  • MaxAxleGroupWeight contains all the restriction details violated by an axle group weight.

    See more

    Declaration

    Swift

    public struct MaxAxleGroupWeight : Hashable
  • New base speed for a segment. Affects route calculation and the ETA. Cannot increase base speed on segment.

    Note: This option can only be used with the RoutingEngine. The OfflineRoutingEngine is not supported and the option will be ignored. Note that the OfflineRoutingEngine is only available for editions such as the Navigate Edition.

    See more

    Declaration

    Swift

    public struct MaxSpeedOnSegment : Hashable
  • Describes the impact a notice has on the resource to which the notice is attached.

    See more

    Declaration

    Swift

    public enum NoticeSeverity : UInt32, CaseIterable, Codable
  • Identifiers for different optimizations that can be used during the route calculation while trying to keep the quality of the route being calculated high. The route is considered to be of low quality if it gives the traveler an unpleasant experience, such as having difficult turns or having a lot of turns in general. For example, if there are two possible routes from A to B, one with a length of 1000m and 10 turns, and another with a length of 1050m and only one turn, the second one will be returned as the shortest, although it is 50m longer. Yet, it contains only one turn and it is therefore considered to provide a better traveler experience.

    See more

    Declaration

    Swift

    public enum OptimizationMode : UInt32, CaseIterable, Codable
  • This structure provides all the information for a passthrough waypoint. The location information and offset of the waypoint are stored in PassThroughWaypoint.place and PassThroughWaypoint.offset respectively.

    See more

    Declaration

    Swift

    public struct PassThroughWaypoint : Hashable
  • Available payment methods.

    See more

    Declaration

    Swift

    public enum PaymentMethod : UInt32, CaseIterable, Codable
  • All the options to specify how a pedestrian route should be calculated.

    See more

    Declaration

    Swift

    public struct PedestrianOptions : Hashable
  • Defines the physical consumption model for electric vehicles, using vehicle-specific parameters to calculate energy consumption along a route. Note: [sdk.transport.VehicleSpecification.current_weight_in_kilograms] must be set. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct PhysicalConsumptionModel : Hashable
  • An action that must be done after arrival, i.e. completing a section in the route.

    See more

    Declaration

    Swift

    public struct PostAction : Hashable
  • Identifies the action type.

    See more

    Declaration

    Swift

    public enum PostActionType : UInt32, CaseIterable, Codable
  • An action that must be done prior to the section, i.e. boarding a ferry.

    See more

    Declaration

    Swift

    public struct PreAction : Hashable
  • Identifies the action type.

    See more

    Declaration

    Swift

    public enum PreActionType : UInt32, CaseIterable, Codable
  • All the options to specify how a private bus route should be calculated.

    See more

    Declaration

    Swift

    public struct PrivateBusOptions : Hashable
  • The options to specify how to refresh an already calculated route identified by a RouteHandle. All the options that may result in a new route shape are ignored as no new route is calculated. Instead, only the data that accompanies a route, such as traffic information, can be refreshed. Therefore, the following route options are ignored: RouteOptions.alternatives, RouteOptions.arrivalTime, and RouteOptions.optimizationMode. If new AvoidanceOptions are specified, they are ignored as well and instead new SectionNotice‘s are generated that indicate where the requested AvoidanceOptions are violated. Note that when EVCarOptions.ensureReachability is set to true, the route refresh request will fail as this option is incompatible with a fixed route shape. If any of the ignored options are important, consider calculating a new route instead.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public class RefreshRouteOptions
    extension RefreshRouteOptions: NativeBase
    extension RefreshRouteOptions: Hashable
  • Road features or states.

    See more

    Declaration

    Swift

    public enum RoadFeatures : UInt32, CaseIterable, Codable
  • Textual attributes of road.

    See more

    Declaration

    Swift

    public struct RoadTexts : Hashable
  • A route is a path through a road network over which someone travels.

    Note: Each Section of a route contains a list of SectionNotice objects that describe potential issues after the route was calculated. If the list is non-empty, it is recommended to evaluate possible violations against the requested route options and reject the route if deemed necessary.

    See more

    Declaration

    Swift

    public class Route
    extension Route: NativeBase
    extension Route: Hashable
  • Provides an opaque handle to the calculated Route. A handle encodes the calculated route. The route can be decoded from a handle at a later point in time as long as the service uses the same map data which was used during encoding. Note that the Route.routeHandle is provided only if RouteOptions.enableRouteHandle is set before route calculation. A RouteHandle generated by the online RoutingEngine is not compatible with the OfflineRoutingEngine. Similarly, a RouteHandle from the OfflineRoutingEngine cannot be used with the online RoutingEngine. Using an incompatible RouteHandle results in a RoutingError.

    See more

    Declaration

    Swift

    public struct RouteHandle : Hashable
  • The main street name or road number for a route. A route can contain more than one such street name or route number. To include route labels in the route response, enable it using RouteOptions.enableRouteLabels.

    See more

    Declaration

    Swift

    public struct RouteLabel : Hashable
  • Identifies the type of the route label.

    See more

    Declaration

    Swift

    public enum RouteLabelType : UInt32, CaseIterable, Codable
  • Represents a specific location along the route. A RouteOffset is a location on the route defined by the section index and the distance in meters from the start of that section to the specified location on the route. An offset in meters indicates the distance that needs to be traveled to reach a specific location along the route, such as a railway crossing. For the latter case, the location of a railway crossing can be retrieved from RouteRailwayCrossing.coordinates.

    See more

    Declaration

    Swift

    public struct RouteOffset
  • The options to specify how the route will be calculated.

    See more

    Declaration

    Swift

    public struct RouteOptions : Hashable
  • The location information.

    See more

    Declaration

    Swift

    public struct RoutePlace : Hashable
  • Specifies the direction to make distinction between departure and arrival cases.

    See more

    Declaration

    Swift

    public enum RoutePlaceDirection : UInt32, CaseIterable, Codable
  • Identifies the route place type.

    See more

    Declaration

    Swift

    public enum RoutePlaceType : UInt32, CaseIterable, Codable
  • Contains information about railway crossing.

    See more

    Declaration

    Swift

    public struct RouteRailwayCrossing
  • Identify possible type of route railway crossing.

    See more

    Declaration

    Swift

    public enum RouteRailwayCrossingType : UInt32, CaseIterable, Codable
  • Route stop that should be used together with import route functionality. It specifies location index within provided route locations track. Route stop can have additional stop delay, which will be included in expected time to arrival. During navigation the stop will be treated as stopover and will be reported as milestone when passing-by. Only available for the Navigate licence.

    See more

    Declaration

    Swift

    public struct RouteStop
  • Specify how textual output should be provided.

    See more

    Declaration

    Swift

    public struct RouteTextOptions : Hashable
  • Defines the settings for the retry logic when connecting to the HERE routing backend.

    When a timeout is triggered, the next connection attempt starts with a increased timeout. new_timeout = initial_timeout + increment * retry_count

    See more

    Declaration

    Swift

    public struct RoutingConnectionSettings : Hashable
  • Use the RoutingEngine to calculate a route from A to B with a number of waypoints in between.

    Route calculation is done asynchronously and requires an online connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.

    Note: The engine does not support an unlimited number of waypoints. The limit is defined by the HERE backend services and may change. For now, the maximum number of waypoints should be below 200. This value may change and it is not guaranteed to be stable. If you need to support very large lists of waypoints, consider to import a route (see importRoute() method) or use the OfflineRoutingEngine which supports an unlimited number of waypoints. The OfflineRoutingEngine is only available for Navigate licence.

    See more

    Declaration

    Swift

    public class RoutingEngine : RoutingProtocol
    extension RoutingEngine: NativeBase
    extension RoutingEngine: Hashable
  • Specifies possible errors that may result from the calculation of a route.

    See more

    Declaration

    Swift

    public enum RoutingError : UInt32, CaseIterable, Codable
  • The options defines how a route should be calculated.

    The options are used for all transport modes and engines.

    ** Electric vehicle specific requirements ** Electric vehicle consumption are estimated when at least one consumption model is defined. Currently two models are supported:

    • PhysicalConsumptionModel Aside from the values in PhysicalConsumptionModel additionally these values needs to be defined:
    • EmpiricalConsumptionModel

    By setting ElectricVehicleOptions.ensureReachability the RoutingEngine inserts additional charging stations to reach the waypoints. This feature requires setting the BatterySpecifications. By default a vehicle might not reach the waypoint, when the initial charge is not enough to reach all waypoints. See the parameter description below for more details.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct RoutingOptions : Hashable
  • Provides the protocol for the online and offline routing engines.

    See more

    Declaration

    Swift

    public protocol RoutingProtocol : AnyObject
  • All the options to specify how a scooter route should be calculated.

    See more

    Declaration

    Swift

    public struct ScooterOptions : Hashable
  • A section is a part of the route between two stopovers. A stopover is a location on the route where a stop is made.

    Note: A section contains a list of SectionNotice objects that describe potential issues after the route was calculated. If the list is non-empty, it is recommended to evaluate possible violations against the requested route options and reject the route if deemed necessary.

    See more

    Declaration

    Swift

    public class Section
    extension Section: NativeBase
    extension Section: Hashable
  • Explains an issue encountered in a Section.

    See more

    Declaration

    Swift

    public struct SectionNotice : Hashable
  • Notice codes which point the issues encountered during processing of a Section.

    Note: The section notice codes are going to be extended for new error situations.

    See more

    Declaration

    Swift

    public enum SectionNoticeCode : UInt32, CaseIterable, Codable
  • Specifies the Section mode of transport. A Section may have a different transport mode than the one specified for route calculation. For example, a car route may have a section having ferry transport mode.

    See more

    Declaration

    Swift

    public enum SectionTransportMode : UInt32, CaseIterable, Codable
  • Reference to a segment id with a travel direction.

    Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct SegmentReference : Hashable
  • Specifies the side of street on which the destination is located.

    See more

    Declaration

    Swift

    public enum SideOfDestination : UInt32, CaseIterable, Codable
  • Signpost information.

    See more

    Declaration

    Swift

    public struct Signpost : Hashable
  • Details of a signpost representing a particular direction or destination.

    See more

    Declaration

    Swift

    public struct SignpostLabel : Hashable
  • Types of street attributes.

    See more

    Declaration

    Swift

    public enum StreetAttributes : UInt32, CaseIterable, Codable
  • A span is a part of the Section which is traversable or navigable. Each span usually has some geometry associated with it.

    See more

    Declaration

    Swift

    public class Span
    extension Span: NativeBase
    extension Span: Hashable
  • All the options to specify how a taxi route should be calculated. See, TransportMode.taxi.

    Note: Specify the optional Waypoint.sideOfStreetHint to indicate at which side of the street a passenger wants to leave the taxi.

    See more

    Declaration

    Swift

    public struct TaxiOptions : Hashable
  • Specify whether the text should be used when generating notification.

    See more

    Declaration

    Swift

    public struct TextUsageOptions : Hashable
  • This struct presents all the data for a toll.

    Note: If you’re using the OfflineRoutingEngine, be aware that this feature is currently in beta. As a result, there may be some bugs or unexpected behaviors. Additionally, this feature and related APIs may be updated in future releases without going through the deprecation process. Note that the OfflineRoutingEngine is only available in editions like the Navigate Edition. If you’re using the RoutingEngine, this feature is considered to be stable.

    See more

    Declaration

    Swift

    public struct Toll : Hashable
  • This struct presents all the fare data for a toll.

    Note: If you’re using the OfflineRoutingEngine, be aware that this feature is currently in beta. As a result, there may be some bugs or unexpected behaviors. Additionally, this feature and related APIs may be updated in future releases without going through the deprecation process. Note that the OfflineRoutingEngine is only available in editions like the Navigate Edition. If you’re using the RoutingEngine, this feature is considered to be stable.

    See more

    Declaration

    Swift

    public struct TollFare : Hashable
  • The option to specify how the tolls should be calculated. Note Not used for offline calculations.

    See more

    Declaration

    Swift

    public struct TollOptions : Hashable
  • Traffic information on a route. Information for the already traveled portion of the route is omitted.

    See more

    Declaration

    Swift

    public struct TrafficOnRoute : Hashable
  • Traffic information of a span along a route.

    See more

    Declaration

    Swift

    public struct TrafficOnSpan : Hashable
  • Traffic information on a section.

    See more

    Declaration

    Swift

    public struct TrafficOnSection : Hashable
  • This struct holds the transit departure or arrival information.

    See more

    Declaration

    Swift

    public struct TransitDeparture : Hashable
  • Status of a departure.

    See more

    Declaration

    Swift

    public enum TransitDepartureStatus : UInt32, CaseIterable, Codable
  • A transit incident describes disruptions on the transit network. Disruptions scale from delays to service cancellations.

    See more

    Declaration

    Swift

    public struct TransitIncident : Hashable
  • Transit incident effect.

    See more

    Declaration

    Swift

    public enum TransitIncidentEffect : UInt32, CaseIterable, Codable
  • Transit incident type.

    See more

    Declaration

    Swift

    public enum TransitIncidentType : UInt32, CaseIterable, Codable
  • Public transit mode

    See more

    Declaration

    Swift

    public enum TransitMode : UInt32, CaseIterable, Codable
  • Filtering mode for public transit.

    See more

    Declaration

    Swift

    public enum TransitModeFilter : UInt32, CaseIterable, Codable
  • Traffic optimization mode that defines whether and what kind of traffic information should be considered during route calculation.

    See more

    Declaration

    Swift

    public enum TrafficOptimizationMode : UInt32, CaseIterable, Codable
  • All the options to specify how a public transit route should be calculated.

    See more

    Declaration

    Swift

    public struct TransitRouteOptions : Hashable
  • Use the TransitRoutingEngine to calculate a public transit route from A to B with a number of waypoints in between. Route calculation is done asynchronously and requires an online connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.

    See more

    Declaration

    Swift

    public class TransitRoutingEngine
    extension TransitRoutingEngine: NativeBase
    extension TransitRoutingEngine: Hashable
  • Gives the details of a transit section.

    See more

    Declaration

    Swift

    public struct TransitSectionDetails : Hashable
  • A transit stop between the departure and destination of a transit section.

    See more

    Declaration

    Swift

    public struct TransitStop : Hashable
  • Holds all the transit transport information.

    See more

    Declaration

    Swift

    public struct TransitTransport : Hashable
  • Represents a transit waypoint, used as input for transit route calculation.

    See more

    Declaration

    Swift

    public struct TransitWaypoint : Hashable
  • Travel direction.

    See more

    Declaration

    Swift

    public enum TravelDirection : UInt32, CaseIterable, Codable
  • All the options to specify how a truck route should be calculated.

    See more

    Declaration

    Swift

    public struct TruckOptions : Hashable
  • Truck specifications contain vehicle related attributes. Examples: Dimensions, weight, axle count. Only the fields that are set are considered for restriction handling.

    See more

    Declaration

    Swift

    public struct TruckSpecifications : Hashable
  • Specifies the type of truck.

    See more

    Declaration

    Swift

    public enum TruckType : UInt32, CaseIterable, Codable
  • Specifies the tunnel categories.

    Tunnels are categorized from B (low risk, few restrictions) to E (high risk) based on their safety features and the potential danger posed by the goods transported through them.

    See more

    Declaration

    Swift

    public enum TunnelCategory : UInt32, CaseIterable, Codable
  • VehicleRestrictionMaxWeight contains max permitted weight during the trip, in kilograms, along with the specific type of maximum permitted weight restriction.

    See more

    Declaration

    Swift

    public struct VehicleRestrictionMaxWeight : Hashable
  • VehicleRestrictionMaxWeightType represents the specific type of the maximum permitted weight restriction. NOTES: A restriction of type UNKNOWN may change to GROSS or CURRENT when data becomes available in future. A restriction of type GROSS or CURRENT may also change to a different type if actual regulation changes.

    See more

    Declaration

    Swift

    public enum VehicleRestrictionMaxWeightType : UInt32, CaseIterable, Codable
  • Contains vehicle related attributes. Examples: Dimensions, weight, axle count. Only the fields that are set are considered for restriction handling. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

    See more

    Declaration

    Swift

    public struct VehicleSpecification : Hashable
  • ViolatedRestriction contains all the violated restriction details for the planned trip.

    See more

    Declaration

    Swift

    public struct ViolatedRestriction : Hashable
  • Types of walk attributes.

    See more

    Declaration

    Swift

    public enum WalkAttributes : UInt32, CaseIterable, Codable
  • Represents a waypoint, used as input for route calculation.

    See more

    Declaration

    Swift

    public struct Waypoint : Hashable
  • Defines if the waypoint is a stop over, or a hint for a desired polyline of a route.

    See more

    Declaration

    Swift

    public enum WaypointType : UInt32, CaseIterable, Codable
  • Identifies categories of zones which routes avoid going through when used in AvoidanceOptions.

    See more

    Declaration

    Swift

    public enum ZoneCategory : UInt32, CaseIterable, Codable