Class LaneAccess

java.lang.Object
com.here.sdk.navigation.LaneAccess

public final class LaneAccess extends Object

A class which identifies the vehicle type(s) allowed to access a lane.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.
    boolean
    Buses that are used for public transportation.
    boolean
    Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.
    boolean
    Delivery trucks that are permitted to enter the city proper to unload goods at businesses.
    boolean
    Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.
    boolean
    Motorized two-wheeled passenger vehicles.
    boolean
    Persons traveling on foot, whether walking or running.
    boolean
    Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.
    boolean
    Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.
    boolean
    Large vehicles that range from medium to heavy duty trucks.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LaneAccess(boolean automobiles, boolean buses, boolean taxis, boolean carpools, boolean pedestrians, boolean trucks, boolean throughTraffic, boolean deliveryVehicles, boolean emergencyVehicles, boolean motorcycles)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • automobiles

      public boolean automobiles

      Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.

    • buses

      public boolean buses

      Buses that are used for public transportation.

    • taxis

      public boolean taxis

      Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.

    • carpools

      public boolean carpools

      Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.

    • pedestrians

      public boolean pedestrians

      Persons traveling on foot, whether walking or running.

    • trucks

      public boolean trucks

      Large vehicles that range from medium to heavy duty trucks.

    • throughTraffic

      public boolean throughTraffic

      Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.

    • deliveryVehicles

      public boolean deliveryVehicles

      Delivery trucks that are permitted to enter the city proper to unload goods at businesses.

    • emergencyVehicles

      public boolean emergencyVehicles

      Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.

    • motorcycles

      public boolean motorcycles

      Motorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.

  • Constructor Details

    • LaneAccess

      public LaneAccess(boolean automobiles, boolean buses, boolean taxis, boolean carpools, boolean pedestrians, boolean trucks, boolean throughTraffic, boolean deliveryVehicles, boolean emergencyVehicles, boolean motorcycles)

      Creates a new instance.

      Parameters:
      automobiles -

      Four-wheel vehicles that are allowed according to national/local vehicle regulations to drive on motorways, ranging from sub-compact cars to full-size vans and light road vehicles.

      buses -

      Buses that are used for public transportation.

      taxis -

      Four-wheel vehicles that are usually fitted with a taximeter, that may be hired, along with their driver, to carry passengers to any specified destination.

      carpools -

      Represents the sharing of car journeys so that more than one person travels in a car, and prevents the need for others to have to drive to a location themselves.

      pedestrians -

      Persons traveling on foot, whether walking or running.

      trucks -

      Large vehicles that range from medium to heavy duty trucks.

      throughTraffic -

      Passenger vehicles (i.e., those defined as passenger car/automobiles) that are allowed to access roads that have traffic restrictions.

      deliveryVehicles -

      Delivery trucks that are permitted to enter the city proper to unload goods at businesses.

      emergencyVehicles -

      Any vehicle that is designated and authorized to respond to an emergency in a life-threatening situation.

      motorcycles -

      Motorized two-wheeled passenger vehicles. Generally, mopeds are considered motorcycles.

  • Method Details