AllowedTransportModes (API Reference)
Class AllowedTransportModes
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
FieldsModifier and TypeFieldDescriptionbooleanTrueif bicycles can access the segment in the given directionbooleanTrueif buses can access the segment in the given directionbooleanTrueif cars can access the segment in the given directionbooleanTrueif pedestrians can access the segment in the given directionbooleanTrueif scooters can access the segment in the given directionbooleanTrueif taxis can access the segment in the given directionbooleanTrueif trucks can access the segment in the given direction -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
bicycleAllowed
public boolean bicycleAllowedTrueif bicycles can access the segment in the given direction -
busAllowed
public boolean busAllowedTrueif buses can access the segment in the given direction -
carAllowed
public boolean carAllowedTrueif cars can access the segment in the given direction -
pedestrianAllowed
public boolean pedestrianAllowedTrueif pedestrians can access the segment in the given direction -
scooterAllowed
public boolean scooterAllowedTrueif scooters can access the segment in the given direction -
taxiAllowed
public boolean taxiAllowedTrueif taxis can access the segment in the given direction -
truckAllowed
public boolean truckAllowedTrueif trucks can access the segment in the given direction
-
-
Constructor Details
-
AllowedTransportModes
public AllowedTransportModes()Creates a new instance with default values.
-
-
Method Details