Class AllowOptions

java.lang.Object
com.here.sdk.routing.AllowOptions

public final class AllowOptions extends Object

The options explicitly allowed by user for route calculations.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    A flag that specifies whether HOT lanes can be used in the calculation.
    boolean
    A flag that specifies whether HOV lanes can be used in the route calculation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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

    • allowHov

      public boolean allowHov

      A flag that specifies whether HOV lanes can be used in the route calculation.

      A HOV (High occupancy Vehicle) lane or carpool lane is reserved for carpool usage. Carpool lane requires a minimum number of passengers in order for the car to use the carpool lane.

      Note: Can be used with RoutingOptions.transport_specification.vehicle_specification.occupancy to specify the number of occupants in the vehicle.

    • allowHot

      public boolean allowHot

      A flag that specifies whether HOT lanes can be used in the calculation.

      HOT (high-occupancy toll) lanes are HOV lanes where vehicles that do not qualify as high-occupancy are allowed to pass by paying a toll.

      Note: Can be used with RoutingOptions.transport_specification.vehicle_specification.occupancy to specify the number of occupants in the vehicle.

  • Constructor Details

    • AllowOptions

      public AllowOptions()

      Creates a new instance.

  • Method Details