Class AllowOptions

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

  • public final class AllowOptions
    extends java.lang.Object

    The options explicitly allowed by user for route calculations.

    • Field Summary

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

      Constructors 
      Constructor Description
      AllowOptions()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • 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 CarOptions.occupantsNumber or similar 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 CarOptions.occupantsNumber or similar to specify the number of occupants in the vehicle

    • Constructor Detail

      • AllowOptions

        public AllowOptions()

        Creates a new instance.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object