Class AllowedTransportModes

java.lang.Object
com.here.sdk.mapdata.AllowedTransportModes

public final class AllowedTransportModes extends Object

Specifies which transport modes are allowed in a particular direction.

Note: This struct specifies a general restriction to that transport mode, but additional restriction are possible.

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.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    True if bicycles can access the segment in the given direction
    boolean
    True if buses can access the segment in the given direction
    boolean
    True if cars can access the segment in the given direction
    boolean
    True if pedestrians can access the segment in the given direction
    boolean
    True if scooters can access the segment in the given direction
    boolean
    True if taxis can access the segment in the given direction
    boolean
    True if trucks can access the segment in the given direction
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance with default values.
  • 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

    • bicycleAllowed

      public boolean bicycleAllowed

      True if bicycles can access the segment in the given direction

    • busAllowed

      public boolean busAllowed

      True if buses can access the segment in the given direction

    • carAllowed

      public boolean carAllowed

      True if cars can access the segment in the given direction

    • pedestrianAllowed

      public boolean pedestrianAllowed

      True if pedestrians can access the segment in the given direction

    • scooterAllowed

      public boolean scooterAllowed

      True if scooters can access the segment in the given direction

    • taxiAllowed

      public boolean taxiAllowed

      True if taxis can access the segment in the given direction

    • truckAllowed

      public boolean truckAllowed

      True if trucks can access the segment in the given direction

  • Constructor Details

    • AllowedTransportModes

      public AllowedTransportModes()

      Creates a new instance with default values.

  • Method Details