TransportMode enum
Specifies the mode of transport used for route calculalation.
Values
- car → const TransportMode
-
The calculated route is optimized for cars.
- truck → const TransportMode
-
The calculated route is optimized for trucks. This mode considers truck restrictions and uses truck specific speed assumptions when calculating the route.
- pedestrian → const TransportMode
-
The calculated route is optimized for pedestrians. As one effect, maneuvers will be optimized for walking, i.e. segments will consider actions relevant for pedestrians and maneuver instructions will contain texts suitable for a walking person. This mode disregards any traffic information.
- scooter → const TransportMode
-
The calculated route is optimized for scooters.
- bicycle → const TransportMode
-
Route calculation for bicycles.
- publicTransit → const TransportMode
-
The calculated route is optimized for public transit. Note that this transport mode is available only for some versions of the HERE SDK. Check
SDKBuildInformationand consult your HERE representative if necessary. - taxi → const TransportMode
-
The taxi transport mode takes into account tax restricted streets as well as streets reserved for exclusive taxi access. Note that roads that are restricted or reserved for taxis are avoided, unless a waypoint is set on such a road - as this may indicate to pick-up or to drop-off a passenger.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
- bus → const TransportMode
-
Route calculation for buses. Denotes those vehicles operated by public transport provider. This transport mode has the access to the bus-only lane/road.
- privateBus → const TransportMode
-
Route calculation for private buses. Denotes those vehicles operated by private transport company. This transport mode does not have the access to the bus-only lane/road.
- networkRestrictedTruck → const TransportMode
-
Route calculation for oversized trucks that are approved to use specific road networks only.
This mode is conceptually distinct from
TRUCK: it targets vehicle configurations that exceed the legal height/weight limits for general truck traffic, such as High Productivity Motor Vehicles (HPMV) in New Zealand or B-Double and Performance-Based Standards (PBS) networks in Australia.TRUCKis not suitable for these vehicles, as the restrictions governing their operation are typically not signposted. Use this mode instead to be guided only on roads approved for your specific network-restricted configuration.Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TransportMode> - A constant List of the values in this enum, in order of their declaration.